[SOLVED] Shutdown on KVM Ubuntu guests doesn't complete

VecH

Renowned Member
Sep 12, 2015
59
1
73
Shutdown from WEB gui and console on Ubuntu 14.04 guests doesn't complete

qemu-guest-agent and acpid packages installed
Code:
Mar 04 02:24:14 host qm[19928]: <root@pam> starting task UPID:host:00004DD9:000CA73F:56D8814E:qmshutdown:102:root@pam:
Mar 04 02:24:14 host qm[19929]: shutdown VM 102: UPID:host:00004DD9:000CA73F:56D8814E:qmshutdown:102:root@pam:
Mar 04 02:29:14 host qm[19929]: VM 102 qmp command failed - received interrupt
Mar 04 02:29:14 host qm[19929]: VM quit/powerdown failed
Mar 04 02:29:15 host qm[19928]: <root@pam> end task UPID:host:00004DD9:000CA73F:56D8814E:qmshutdown:102:root@pam: VM quit/powerdown failed
I wait 5 min and cancel from host console
guest VM not initiated shutdown progress :(
 
Some VMs with GUI do this. If you watch the desktop of your VM when you tell Proxmox to shut it down, it will throw up a box asking something like "Do you wish to shutdown?". The VM will wait for this to be resolved and eventually proxmox will timeout the shutdown command.
 
What do the logs of the VM in question say?
 
remove and install packages qemu-guest-agent and acpid
reboot host reboot host
problem solved