Updated Branches:
  refs/heads/4.2 8f153a65d -> 1b340e054

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.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1b340e05
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1b340e05
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1b340e05

Branch: refs/heads/4.2
Commit: 1b340e054401eaf865ce4b77a2f87608023dcf7b
Parents: 8f153a6
Author: Devdeep Singh <devd...@gmail.com>
Authored: Fri Jul 26 10:57:37 2013 +0530
Committer: Devdeep Singh <devd...@gmail.com>
Committed: Fri Jul 26 10:57:37 2013 +0530

----------------------------------------------------------------------
 .../com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1b340e05/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerConnectionPool.java
----------------------------------------------------------------------
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 5af1781..cb188d5 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) {
                 } 
             }

Reply via email to