diff --git a/zaza/openstack/charm_tests/octavia/tests.py b/zaza/openstack/charm_tests/octavia/tests.py index 925f886..8f3e8e6 100644 --- a/zaza/openstack/charm_tests/octavia/tests.py +++ b/zaza/openstack/charm_tests/octavia/tests.py @@ -316,6 +316,11 @@ class LBAASv2Test(test_utils.OpenStackBaseTest): return resp @staticmethod + @tenacity.retry( + retry=tenacity.retry_if_exception_type(keystone_exceptions.http. + NotFound), + wait=tenacity.wait_fixed(5), reraise=True, + stop=tenacity.stop_after_delay(300)) def get_lb_providers(octavia_client): """Retrieve loadbalancer providers.