[Bug] attempted migration to an node in shutdown sequence
Describe the bug
rolling update tries to migrate vm to node mid shutdown sequence
Steps to Reproduce
- start rolling update from cluster settings
- observe
Expected behavior
Environment
- PegaProx Version: 0.9.5
- Installation Method: Docker Compose
- OS: Debian 13
- Browser: Chromium: 146.0.7680.178
- Behind Reverse Proxy? nginx
- UI? corporate
Logs
Migrate Error from Screenshot below:
2026-04-09 09:37:05 conntrack state migration not supported or disabled, active connections might get dropped
2026-04-09 09:37:05 starting migration of VM 1008 to node 'pve-dev-node02' (172.16.100.12)
2026-04-09 09:37:05 starting VM 1008 on remote node 'pve-dev-node02'
2026-04-09 09:37:05 [pve-dev-node02] System is going down. Unprivileged users are not permitted to log in anymore. For technical details, see pam_nologin(8).
2026-04-09 09:37:05 [pve-dev-node02]
2026-04-09 09:37:06 [pve-dev-node02] org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2026-04-09 09:37:06 ERROR: online migrate failure - remote command failed with exit code 255
2026-04-09 09:37:06 aborting phase 2 - cleanup resources
2026-04-09 09:37:06 migrate_cancel
2026-04-09 09:37:06 ERROR: command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve-dev-node02' -o 'UserKnownHostsFile=/etc/pve/nodes/pve-dev-node02/ssh_known_hosts' -o 'GlobalKnownHostsFile=none' [email protected] qm stop 1008 --skiplock --migratedfrom pve-dev-node01' failed: exit code 255
2026-04-09 09:37:06 ERROR: migration finished with problems (duration 00:00:01)
TASK ERROR: migration problems
Start Error from Screenshot below:
netdev net0: using 'host_mtu=1500' for migration compat
TASK ERROR: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Screenshots
Checklist
- [x] I have searched existing issues to make sure this is not a duplicate
- [x] I am using the latest version of PegaProx
the vm was fine afterwards as it canceled the migration and continued on another node, but im sure this shouldnt happen in the first place 😺
Hey, thanks for reporting this — that's a valid race condition. The evacuation was only checking rebooting_nodes but not the node currently being updated, so there was a small window where a migration could target a node mid-shutdown.
Fixed in 25f9349 — get_best_target_node() now also excludes the node that's actively being processed in the rolling update cycle. Should be in the next release.
Regards, Marcus
Done in v0.9.6