VM with Debian 12 failed to shutdown.

Gilberto Ferreira

Renowned Member
Hi there folks...
I have this strange behavior with a VM with Debian 12 failing to shutdown etiher when click shutdown in the UI or when trigger the qm guest cmd command:

pve200:~# qm guest cmd 100 shutdown
{
"error" : {
"class" : "GenericError",
"desc" : "child process has failed to shutdown"
}
}
pve200:~# pveversion
pve-manager/8.3.3/f157a38b211595d6 (running kernel: 6.8.12-8-pve)

The VM has the qemu-guest-agent installed up and running.

Any ideas?

Best regards
 
The VM has the qemu-guest-agent installed up and running.
Just to be sure: when running systemctl status qemu-guest-agent, does it show that it's started and enabled, with no further errors?

Keep in mind that for the QEMU Guest Agent to run correctly, you also need to click on the VM, go to Options and set QEMU Guest Agent to Enabled. After this, you need to shut down the VM entirely and then start it again. For more information, please read the chapter on the QEMU Guest Agent.
 
Keep in mind that for the QEMU Guest Agent to run correctly, you also need to click on the VM, go to Options and set QEMU Guest Agent to Enabled. After this, you need to shut down the VM entirely and then start it again. For more information, please read the chapter on the QEMU Guest Agent.
As you can see, the qm guest agent was able to communcate to the running qemu processes inside the vm, right?
So that imply to me that the qemu-guest-agent are up and running.
I see the VM IP in the WEBUI as well...