From bda1db4fc4701ceedc761eb47403ec466ff1159f Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 23 Dec 2011 10:28:23 -0800 Subject: [PATCH] Don't exit if there are machines building. Change-Id: I6528af16e68a2d73111398874e19756fbfc55df9 --- slave_scripts/devstack-vm-launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slave_scripts/devstack-vm-launch.py b/slave_scripts/devstack-vm-launch.py index 76f78d98..2c5c6a5e 100755 --- a/slave_scripts/devstack-vm-launch.py +++ b/slave_scripts/devstack-vm-launch.py @@ -56,7 +56,7 @@ print "%s ready, %s building, need to launch %s" % (len(ready_machines), num_to_launch) sys.stdout.flush() -if num_to_launch <= 0: +if num_to_launch <= 0 && len(building_machines) == 0: sys.exit(0) if CLOUD_SERVERS_DRIVER == 'rackspace':