Skip to content
Snippets Groups Projects
Commit 72edb9ab authored by istmxrein's avatar istmxrein
Browse files

changes for debugging

parent 5f38fbb4
No related branches found
No related tags found
No related merge requests found
......@@ -37,11 +37,12 @@ def provision_server(
)
start_time = time.time()
print("Waiting for server to start (0s)", flush=True)
while True:
try:
server = conn.wait_for_server(server, timeout=10)
break
except openstack.exceptions.ResourceTimeout as e:
except Exception as e:
time_difference = time.time() - start_time
print(f"Waiting for server to start ({time_difference}s)", flush=True)
if time_difference > 500:
......
cryptography==38.0.1
openstacksdk==0.101.0
openstacksdk==1.1.0
paramiko==2.11.0
tenacity==8.1.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment