]> git.proxmox.com Git - qemu-server.git/commit
vm_resume: fix nocheck/migrate handling
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 21 Nov 2022 12:16:04 +0000 (13:16 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Nov 2022 12:42:52 +0000 (13:42 +0100)
commit270bfff2e1f80cb2d33da2cb5407f48e6e84c5db
tree420262ce162d2ef5d0721de84284d5ab0db63f78
parentc9a0924df8033a25d4ac97f944915bc854602a14
vm_resume: fix nocheck/migrate handling

it's not deterministic whether the rename/move of the VM config
triggered on the source side of a migration is already visible on the
target side when vm_resume is executed. check the vmlist for the node
where the config is currently located if $nocheck is set - it is now
needed to add the forwarding DB entries to the bridge.

this fixes an issue on busier or slower clusters, where pmxcfs hasn't
yet processed the rename, and resuming would fail with an error about
the config not existing.

Reported-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/QemuServer.pm