Hi.
Im running a Go program to listen on incus events, I would like to get operation and lifecycle but everything seems to be type=logging . reboot or start instance shouldn’t trigger a lifecycle event ?
my incus cluster is on version 6.2
Blockquote
{
“type”: “logging”,
“timestamp”: “2024-09-13T01:06:28.916374223Z”,
“metadata”: {
“message”: “New operation”,
“level”: “debug”,
“context”: {
“class”: “task”,
“description”: “Starting instance”,
“operation”: “251f3ba5-9d8f-49ef-9d70-9bd9d8c72c71”,
“project”: “mmtdev”
}
},
“location”: “MicroGPU1”
}
{
“type”: “logging”,
“timestamp”: “2024-09-13T01:06:28.917390162Z”,
“metadata”: {
“message”: “Failure for operation”,
“level”: “debug”,
“context”: {
“class”: “task”,
“description”: “Starting instance”,
“err”: “The instance is already running”,
“operation”: “251f3ba5-9d8f-49ef-9d70-9bd9d8c72c71”,
“project”: “mmtdev”
}
},
“location”: “MicroGPU1”
}
{
“type”: “logging”,
“timestamp”: “2024-09-13T01:06:28.916763729Z”,
“metadata”: {
“message”: “Start started”,
“level”: “debug”,
“context”: {
“instance”: “mmtdev-1725341438257”,
“instanceType”: “virtual-machine”,
“project”: “mmtdev”,
“stateful”: “false”
}
},
“location”: “MicroGPU1”
}
{
“type”: “logging”,
“timestamp”: “2024-09-13T01:06:28.916545781Z”,
“metadata”: {
“message”: “Started operation”,
“level”: “debug”,
“context”: {
“class”: “task”,
“description”: “Starting instance”,
“operation”: “251f3ba5-9d8f-49ef-9d70-9bd9d8c72c71”,
“project”: “mmtdev”
}
},
“location”: “MicroGPU1”
}
{
“type”: “logging”,
“timestamp”: “2024-09-13T01:06:28.917347743Z”,
“metadata”: {
“message”: “Start finished”,
“level”: “debug”,
“context”: {
“instance”: “mmtdev-1725341438257”,
“instanceType”: “virtual-machine”,
“project”: “mmtdev”,
“stateful”: “false”
}
},
“location”: “MicroGPU1”
}