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

VecH

Active Member
Sep 12, 2015
43
0
26
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.
 
i install ubuntu only console mode (ubuntu mini / ubuntu server)
 
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!