From 62c8df9dcdabdc460ad5fb441a3c98e8f6b100aa Mon Sep 17 00:00:00 2001 From: Devdeep Singh Date: Fri, 26 Jul 2013 10:57:37 +0530 Subject: [PATCH] CLOUDSTACK-3590. Adding new xenserver host to cluster fails in first attempt. While adding a host to the pool it may take a little longer to join the pool. Increased the time the resource waits and checks to make sure the host has joined as slave to the pool. --- .../cloud/hypervisor/xen/resource/XenServerConnectionPool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java index 5af17812bc3..cb188d5ee03 100644 --- a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java +++ b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java @@ -197,7 +197,7 @@ public class XenServerConnectionPool { } } try { - Thread.sleep(2000); + Thread.sleep(3000); } catch (InterruptedException e) { } }