TASK ERROR: VM quit/powerdown failed

christianj

New Member
Oct 23, 2022
8
0
1
Hi,
I have a home assistant OS VM running under my Proxmox Server. Problem: I cannot shut down this VM 211. The occurring error is:

Bildschirmfoto 2023-09-14 um 22.54.17.png

When I try to reboot, the error comes up, the VM stops, but it doesn't reboot, I have to start it manually. Same error comes up for VM shutdown.

The logs show:

Sep 14 22:33:31 proxmox pvedaemon[1900170]: <root@pam> successful auth for user 'root@pam' Sep 14 22:40:25 proxmox pvedaemon[1946072]: requesting reboot of VM 211: UPID:proxmox:001DB1D8:02B783D9:65036FB9:qmreboot:211:root@pam: Sep 14 22:40:25 proxmox pvedaemon[1900170]: <root@pam> starting task UPID:proxmox:001DB1D8:02B783D9:65036FB9:qmreboot:211:root@pam: Sep 14 22:40:29 proxmox pvedaemon[1922101]: VM 211 qmp command failed - VM 211 qmp command 'guest-ping' failed - got timeout Sep 14 22:40:45 proxmox nfsidmap[1946164]: nss_getpwnam: name 'root@localdomain' does not map into domain 'mgmt' Sep 14 22:40:45 proxmox nfsidmap[1946165]: nss_name_to_gid: name 'root@localdomain' does not map into domain 'mgmt' Sep 14 22:40:45 proxmox pvedaemon[1946072]: VM 211 qmp command failed - VM 211 qmp command 'guest-shutdown' failed - got timeout Sep 14 22:40:45 proxmox pvedaemon[1946072]: VM quit/powerdown failed Sep 14 22:40:45 proxmox pvedaemon[1900170]: <root@pam> end task UPID:proxmox:001DB1D8:02B783D9:65036FB9:qmreboot:211:root@pam: VM quit/powerdown failed Sep 14 22:40:49 proxmox pvedaemon[1922101]: VM 211 qmp command failed - VM 211 qmp command 'guest-ping' failed - got timeout Sep 14 22:40:51 proxmox kernel: vmbr1: port 4(tap211i0) entered disabled state Sep 14 22:40:51 proxmox qmeventd[714]: read: Connection reset by peer Sep 14 22:40:51 proxmox pvedaemon[1904178]: VM 211 qmp command failed - unable to open monitor socket Sep 14 22:40:51 proxmox kernel: usb 1-1.1: reset full-speed USB device number 6 using ehci-pci Sep 14 22:40:51 proxmox kernel: cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device Sep 14 22:40:52 proxmox systemd[1]: 211.scope: Deactivated successfully. Sep 14 22:40:52 proxmox systemd[1]: 211.scope: Consumed 2h 49min 9.035s CPU time. Sep 14 22:40:54 proxmox qmeventd[1946190]: Starting cleanup for 211 Sep 14 22:40:54 proxmox qmeventd[1946190]: Finished cleanup for 211 Sep 14 22:42:18 proxmox pvedaemon[1900170]: <root@pam> starting task UPID:proxmox:001DB45B:02B7B020:6503702A:qmstart:211:root@pam: Sep 14 22:42:18 proxmox pvedaemon[1946715]: start VM 211: UPID:proxmox:001DB45B:02B7B020:6503702A:qmstart:211:root@pam: Sep 14 22:42:19 proxmox systemd[1]: Started 211.scope.

Anyone here who can help? I already completely re-installed the VM (problem occured on 201, so I created 211, but it has the same issue)
Thanks!
 
Does the VM have qemu-guest-agent installed and also enabled in the VMs options page?

https://pve.proxmox.com/pve-docs/chapter-qm.html#qm_qemu_agent
At least it is enabled in the VMs options page. I did the install of the VM with this script

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm.sh)"

so not sure if it is installed... anyhow, the VM gets a correct IPv4 and IPv6. And after shutdown (with error notice) there is something in the VM Summary panel saying "Guest agent not running" or similar. But this is replaced with IP addresses after restart and during running.

Any way to check if the qemu-agent is installed?
 
Remove it, and then check if the system will reboot.
Same. Fails to shutdown. Log:

Sep 15 13:56:22 proxmox pvedaemon[36082]: requesting reboot of VM 211: UPID:proxmox:00008CF2:000A718B:65044666:qmreboot:211:root@pam: Sep 15 13:56:22 proxmox pvedaemon[1123]: <root@pam> starting task UPID:proxmox:00008CF2:000A718B:65044666:qmreboot:211:root@pam: Sep 15 13:56:42 proxmox pvedaemon[36082]: VM 211 qmp command failed - VM 211 qmp command 'guest-shutdown' failed - got timeout Sep 15 13:56:42 proxmox pvedaemon[36082]: VM quit/powerdown failed Sep 15 13:56:42 proxmox pvedaemon[1123]: <root@pam> end task UPID:proxmox:00008CF2:000A718B:65044666:qmreboot:211:root@pam: VM quit/powerdown failed Sep 15 13:56:43 proxmox pvedaemon[1125]: VM 211 qmp command failed - VM 211 qmp command 'guest-ping' failed - got timeout Sep 15 13:56:48 proxmox kernel: vmbr1: port 5(tap211i0) entered disabled state Sep 15 13:56:48 proxmox qmeventd[706]: read: Connection reset by peer Sep 15 13:56:48 proxmox pvestatd[1092]: VM 211 qmp command failed - VM 211 not running Sep 15 13:56:48 proxmox systemd[1]: 211.scope: Deactivated successfully. Sep 15 13:56:48 proxmox systemd[1]: 211.scope: Consumed 44min 50.174s CPU time. Sep 15 13:56:50 proxmox qmeventd[36229]: Starting cleanup for 211 Sep 15 13:56:50 proxmox qmeventd[36229]: Finished cleanup for 211
 

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!