[pve-devel] [PATCH] wait for vnc port before we spawn the worker - otherwise it might fail with exit code 111
Stefan Priebe
s.priebe at profihost.ag
Mon Feb 25 16:26:05 CET 2013
Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
---
PVE/API2/Qemu.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index bed2f4c..b26a0ce 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -1137,10 +1137,10 @@ __PACKAGE__->register_method({
return;
};
- my $upid = $rpcenv->fork_worker('vncproxy', $vmid, $authuser, $realcmd);
-
PVE::Tools::wait_for_vnc_port($port);
+ my $upid = $rpcenv->fork_worker('vncproxy', $vmid, $authuser, $realcmd);
+
return {
user => $authuser,
ticket => $ticket,
--
1.7.10.4
More information about the pve-devel
mailing list