a lot of chenges
diff --git a/wally/start_vms.py b/wally/start_vms.py
index 7e1c687..3ab4383 100644
--- a/wally/start_vms.py
+++ b/wally/start_vms.py
@@ -259,7 +259,7 @@
return vol
-def wait_for_server_active(nova, server, timeout=240):
+def wait_for_server_active(nova, server, timeout=300):
t = time.time()
while True:
time.sleep(1)
@@ -291,7 +291,7 @@
def launch_vms(params, already_has_count=0):
- logger.debug("Starting new nodes on openstack")
+ logger.debug("Calculating new vm count")
count = params['count']
nova = nova_connect()
lst = nova.services.list(binary='nova-compute')
@@ -305,8 +305,11 @@
count = int(count[1:]) - already_has_count
if count <= 0:
+ logger.debug("Not need new vms")
return
+ logger.debug("Starting new nodes on openstack")
+
assert isinstance(count, (int, long))
srv_params = "img: {image[name]}, flavor: {flavor[name]}".format(**params)