From 52ee23927c27bbf02bf0a47fa5090e78d01a094a Mon Sep 17 00:00:00 2001 From: Liam Young Date: Fri, 15 May 2020 13:54:01 +0000 Subject: [PATCH] Make masakari wait longer for hosts to online A recent functional test of masakari monitors failed due to a tenacity retry missing the host coming online by 10s, so wait longer. FWIW that this affects the post-test cleanup rather than the test itself. *1 https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-masakari-monitors/726808/1/5655/consoleText.test_charm_func_full_8812.txt ` --- zaza/openstack/configure/masakari.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/configure/masakari.py b/zaza/openstack/configure/masakari.py index a529bbe..707416f 100644 --- a/zaza/openstack/configure/masakari.py +++ b/zaza/openstack/configure/masakari.py @@ -85,7 +85,7 @@ def create_segments(segment_number=1, host_assignment_method=None): @tenacity.retry( wait=tenacity.wait_exponential(multiplier=2, max=60), - reraise=True, stop=tenacity.stop_after_attempt(5), + reraise=True, stop=tenacity.stop_after_attempt(10), retry=tenacity.retry_if_exception_type(ostack_except.ConflictException)) def enable_host(masakari_client, host, segment): """Enable hypervisor within masakari.