diff --git a/cloudstackops/xenserver.py b/cloudstackops/xenserver.py index c1f05a1..1f7bcf8 100644 --- a/cloudstackops/xenserver.py +++ b/cloudstackops/xenserver.py @@ -166,6 +166,8 @@ def host_evacuate(self, host): break time.sleep(5) print "Note: Done evacuating host " + host.name + " @ " + time.strftime("%Y-%m-%d %H:%M") + print "Note: Sleeping 2 minutes to allow Cosmic to sync the state of VMs.." + time.sleep(120) return True except: return False