I have a problem where whenever I try to reboot a VM I get an error on startup "VM 101 qmp command failed - VM 101 qmp command 'guest-ping' failed - got timeout". I have tried this with several Debian VMs and gotten this error on all of them. This problem was supposedly fixed with qemu-server 8.4.1 (https://forum.proxmox.com/threads/qemu-server-8-3-14-prevents-vm-shutdown.168309) but I am still having this issue with 8.4.1.
I have verified that the guest-agent is enabled in options and that the qemu-guest-agent package is installed and running within the VMs.
I have also checked that these pve services are running. Enabling these services is supposedly what fixed the issue for the user in the forum post attached above.
Even after this, rebooting a VM from the webui results in the error mentioned. The VM seems to start as I can see CPU and RAM usage spin up to normal amounts but I can't ssh in or even open the console from the pve interface. In the summary tab next to IPs it just says "Guest Agent not running". The only solution is to completely stop the VM and restart it. Any ideas what is causing this or potential solutions?
System log output during reboot attempt.
I have verified that the guest-agent is enabled in options and that the qemu-guest-agent package is installed and running within the VMs.
Code:
sudo systemctl status qemu-guest-agent
● qemu-guest-agent.service - QEMU Guest Agent
Loaded: loaded (/lib/systemd/system/qemu-guest-agent.service; static)
Active: active (running) since Mon 2025-07-28 14:03:28 UTC; 31min ago
Main PID: 353 (qemu-ga)
Tasks: 2 (limit: 9479)
Memory: 1.6M
CPU: 112ms
CGroup: /system.slice/qemu-guest-agent.service
└─353 /usr/sbin/qemu-ga
Jul 28 14:33:22 dockge-2 qemu-ga[353]: info: guest-ping called
Jul 28 14:33:33 dockge-2 qemu-ga[353]: info: guest-ping called
Jul 28 14:33:44 dockge-2 qemu-ga[353]: info: guest-ping called
I have also checked that these pve services are running. Enabling these services is supposedly what fixed the issue for the user in the forum post attached above.
Code:
systemctl status qmeventd.service pve-query-machine-capabilities.service
● qmeventd.service - PVE Qemu Event Daemon
Loaded: loaded (/lib/systemd/system/qmeventd.service; enabled; preset: enabled)
Active: active (running) since Mon 2025-07-28 08:55:21 CDT; 38min ago
Process: 4075406 ExecStart=/usr/sbin/qmeventd /var/run/qmeventd.sock (code=exited, status=0/SUCCESS)
Main PID: 4075408 (qmeventd)
Tasks: 1 (limit: 154357)
Memory: 316.0K
CPU: 3.007s
CGroup: /system.slice/qmeventd.service
└─4075408 /usr/sbin/qmeventd /var/run/qmeventd.sock
Jul 28 09:03:29 pve1 qmeventd[4081680]: Restarting VM 101
Jul 28 09:03:29 pve1 qm[4081680]: <root@pam> starting task UPID:pve1:003E4814:02C7BC1C:68878331:qmstart:101:root@pam:
Jul 28 09:03:29 pve1 qm[4081684]: start VM 101: UPID:pve1:003E4814:02C7BC1C:68878331:qmstart:101:root@pam:
Jul 28 09:03:31 pve1 qm[4081684]: VM 101 started with PID 4081733.
Jul 28 09:03:31 pve1 qm[4081680]: <root@pam> end task UPID:pve1:003E4814:02C7BC1C:68878331:qmstart:101:root@pam: OK
Jul 28 09:31:14 pve1 qmeventd[4075408]: read: Connection reset by peer
Jul 28 09:31:15 pve1 qmeventd[4102952]: Starting cleanup for 101
Jul 28 09:31:15 pve1 qmeventd[4102952]: trying to acquire lock...
Jul 28 09:31:15 pve1 qmeventd[4102952]: OK
Jul 28 09:31:15 pve1 qmeventd[4102952]: Finished cleanup for 101
● pve-query-machine-capabilities.service - PVE Query Machine Capabilities
Loaded: loaded (/lib/systemd/system/pve-query-machine-capabilities.service; enabled; preset: enabled)
Active: active (exited) since Mon 2025-07-28 08:30:27 CDT; 1h 3min ago
Main PID: 4033267 (code=exited, status=0/SUCCESS)
CPU: 1ms
Jul 28 08:30:27 pve1 systemd[1]: Starting pve-query-machine-capabilities.service - PVE Query Machine Capabilities...
Jul 28 08:30:27 pve1 systemd[1]: Finished pve-query-machine-capabilities.service - PVE Query Machine Capabilities.
Even after this, rebooting a VM from the webui results in the error mentioned. The VM seems to start as I can see CPU and RAM usage spin up to normal amounts but I can't ssh in or even open the console from the pve interface. In the summary tab next to IPs it just says "Guest Agent not running". The only solution is to completely stop the VM and restart it. Any ideas what is causing this or potential solutions?
System log output during reboot attempt.
Code:
journalctl -e
Jul 28 09:38:18 pve1 pvedaemon[4075367]: <root@pam> end task UPID:pve1:003EAAA4:02CABDFC:68878AE4:vncproxy:101:root@pam: OK
Jul 28 09:38:44 pve1 pvedaemon[4075368]: <root@pam> starting task UPID:pve1:003EB1B8:02CAF60F:68878B74:qmreboot:101:root@pam:
Jul 28 09:38:44 pve1 pvedaemon[4108728]: requesting reboot of VM 101: UPID:pve1:003EB1B8:02CAF60F:68878B74:qmreboot:101:root@pam:
Jul 28 09:38:47 pve1 kernel: zd112: p1 p2 p3
Jul 28 09:38:47 pve1 kernel: tap101i0: left allmulticast mode
Jul 28 09:38:47 pve1 kernel: vmbr0: port 8(tap101i0) entered disabled state
Jul 28 09:38:47 pve1 qmeventd[4075408]: read: Connection reset by peer
Jul 28 09:38:47 pve1 virtiofsd[4103315]: Client disconnected, shutting down
Jul 28 09:38:47 pve1 virtiofsd[4103309]: Client disconnected, shutting down
Jul 28 09:38:47 pve1 pvedaemon[4075368]: <root@pam> end task UPID:pve1:003EB1B8:02CAF60F:68878B74:qmreboot:101:root@pam: OK
Jul 28 09:38:47 pve1 systemd[1]: 101.scope: Deactivated successfully.
Jul 28 09:38:47 pve1 systemd[1]: 101.scope: Consumed 59.468s CPU time.
Jul 28 09:38:48 pve1 qmeventd[4108822]: Starting cleanup for 101
Jul 28 09:38:48 pve1 qmeventd[4108822]: Finished cleanup for 101
Jul 28 09:38:48 pve1 qmeventd[4108822]: Restarting VM 101
Jul 28 09:38:48 pve1 qm[4108822]: <root@pam> starting task UPID:pve1:003EB220:02CAF7AF:68878B78:qmstart:101:root@pam:
Jul 28 09:38:48 pve1 qm[4108832]: start VM 101: UPID:pve1:003EB220:02CAF7AF:68878B78:qmstart:101:root@pam:
Jul 28 09:38:48 pve1 systemd[1]: Started 101.scope.
Jul 28 09:38:48 pve1 virtiofsd[4108842]: Waiting for vhost-user socket connection...
Jul 28 09:38:48 pve1 virtiofsd[4108847]: Waiting for vhost-user socket connection...
Jul 28 09:38:48 pve1 virtiofsd[4108842]: Client connected, servicing requests
Jul 28 09:38:48 pve1 virtiofsd[4108847]: Client connected, servicing requests
Jul 28 09:38:49 pve1 kernel: tap101i0: entered promiscuous mode
Jul 28 09:38:49 pve1 kernel: vmbr0: port 8(tap101i0) entered blocking state
Jul 28 09:38:49 pve1 kernel: vmbr0: port 8(tap101i0) entered disabled state
Jul 28 09:38:49 pve1 kernel: tap101i0: entered allmulticast mode
Jul 28 09:38:49 pve1 kernel: vmbr0: port 8(tap101i0) entered blocking state
Jul 28 09:38:49 pve1 kernel: vmbr0: port 8(tap101i0) entered forwarding state
Jul 28 09:38:49 pve1 qm[4108832]: VM 101 started with PID 4108854.
Jul 28 09:38:49 pve1 qm[4108822]: <root@pam> end task UPID:pve1:003EB220:02CAF7AF:68878B78:qmstart:101:root@pam: OK
Jul 28 09:38:56 pve1 pvedaemon[4075367]: VM 101 qmp command failed - VM 101 qmp command 'guest-ping' failed - got timeout
Jul 28 09:39:15 pve1 pvedaemon[4075368]: VM 101 qmp command failed - VM 101 qmp command 'guest-ping' failed - got timeout
Jul 28 09:39:23 pve1 pveproxy[4075403]: worker exit
Jul 28 09:39:23 pve1 pveproxy[4075401]: worker 4075403 finished
Jul 28 09:39:23 pve1 pveproxy[4075401]: starting 1 worker(s)
Jul 28 09:39:23 pve1 pveproxy[4075401]: worker 4109308 started
Jul 28 09:39:34 pve1 pvedaemon[4075368]: VM 101 qmp command failed - VM 101 qmp command 'guest-ping' failed - got timeout