Skip to content

Commit

Permalink
Increase wait time for guest to boot.
Browse files Browse the repository at this point in the history
Zaza seems to currently wait for 64+32+16+8+4+2+1 seconds (127) for
a guest to boot. This is not quite enough sometimes, so increase
this to 511 seconds.
  • Loading branch information
Liam Young committed Sep 23, 2019
1 parent 60f9baf commit af85613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zaza/openstack/utilities/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,7 @@ def get_ports_from_device_id(neutron_client, device_id):


@tenacity.retry(wait=tenacity.wait_exponential(multiplier=1, max=60),
reraise=True, stop=tenacity.stop_after_attempt(8))
reraise=True, stop=tenacity.stop_after_attempt(10))
def cloud_init_complete(nova_client, vm_id, bootstring):
"""Wait for cloud init to complete on the given vm.
Expand Down

0 comments on commit af85613

Please sign in to comment.