Browse Source

Increase wait_for_cloud_init_status timeout to 20 minutes

Change-Id: Iafb95462c0b5707668842c573e74db1a7328ad9a
changes/91/721991/1
Federico Ressi 2 years ago
parent
commit
e1ee90df35
  1. 2
      tobiko/openstack/nova/_cloud_init.py

2
tobiko/openstack/nova/_cloud_init.py

@ -103,7 +103,7 @@ def wait_for_cloud_init_done(ssh_client=None, timeout=None,
def wait_for_cloud_init_status(expected, ssh_client=None, timeout=None,
sleep_interval=None):
expected = set(expected)
timeout = timeout and float(timeout) or 600.
timeout = timeout and float(timeout) or 1200.
sleep_interval = sleep_interval and float(sleep_interval) or 5.
start_time = time.time()
actual = get_cloud_init_status(ssh_client=ssh_client, timeout=timeout)

Loading…
Cancel
Save