[pve-devel] [PATCH qemu-server] fix #3733: add 20 seconds timeout when VM backup stopped

Moayad Almalat m.almalat at proxmox.com
Wed Feb 23 10:03:24 CET 2022


---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 9cefcc0..c43518e 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5551,7 +5551,7 @@ sub vm_start_nolock {
     };
     # Issues with the above 'stop' not being fully completed are extremely rare, a very low
     # timeout should be more than enough here...
-    PVE::Systemd::wait_for_unit_removed("$vmid.scope", 5);
+    PVE::Systemd::wait_for_unit_removed("$vmid.scope", 20);
 
     my $cpuunits = get_cpuunits($conf);
 
-- 
2.30.2





More information about the pve-devel mailing list