Skip to content
Browse files

Added more output to try to catch strange one-time error I encountere…

…d, cannot reproduce
  • Loading branch information...
1 parent e46f15e commit a665328879754be68d3938b1244f29202844b820 @madasi committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 challenge1.py
View
1 challenge1.py
@@ -64,6 +64,7 @@ def server_done(server):
inventory[started.name] = {"password":started.adminPass,"name":started.name}
wait_thread = pyrax.utils.wait_until(started,"status",['ACTIVE','ERROR'],callback=server_done,interval=5,attempts=0,verbose=True,verbose_atts=["name","status"])
threads.append(wait_thread)
+ print "Building {0:s} now.".format(started.name)
time.sleep(30) # Rackspace best practices to sleep between server creation
print "3 Servers are now building."
goal_reached.wait()

0 comments on commit a665328

Please sign in to comment.
Something went wrong with that request. Please try again.