Increase default waiter retries and timeout
Currently 5 retries during 10 seconds is not enough for
zones creation on multinodes environment.
Change-Id: I58536047fb7ac5e6d38034c08a012bfb1c9356e7
diff --git a/_states/designatev2.py b/_states/designatev2.py
index 54e532a..d08a750 100644
--- a/_states/designatev2.py
+++ b/_states/designatev2.py
@@ -83,7 +83,7 @@
return _succeeded('delete', name, resource)
-def _poll_for_zone(zone_name, cloud_name, checker, retry=5, timeout=2):
+def _poll_for_zone(zone_name, cloud_name, checker, retry=18, timeout=10):
while retry:
zones = _designatev2_call('zone_list', name=zone_name,
cloud_name=cloud_name)['zones']