From 520830905bb4ed45705c5f5818fdb9e18474161d Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Thu, 2 Jul 2020 13:03:42 +0200 Subject: [PATCH] Increase wait time for cloud_init_complete We often see test runs being killed prematurely due to slow to complete cloud-init step on a loaded CI cloud. Related issue #311 --- zaza/openstack/utilities/openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/utilities/openstack.py b/zaza/openstack/utilities/openstack.py index bb834f0..28ba29a 100644 --- a/zaza/openstack/utilities/openstack.py +++ b/zaza/openstack/utilities/openstack.py @@ -2283,7 +2283,7 @@ def get_ports_from_device_id(neutron_client, device_id): @tenacity.retry(wait=tenacity.wait_exponential(multiplier=1, max=120), - reraise=True, stop=tenacity.stop_after_attempt(12)) + reraise=True, stop=tenacity.stop_after_delay(1800)) def cloud_init_complete(nova_client, vm_id, bootstring): """Wait for cloud init to complete on the given vm.