Increase number of attempts for ping_response

Some configurations require more time to settle before we get the
expected response. (LP: #1851710)
This commit is contained in:
Frode Nordahl
2019-11-11 10:04:30 +01:00
parent f1b4c112e4
commit 9391758fba

View File

@@ -2174,7 +2174,7 @@ def cloud_init_complete(nova_client, vm_id, bootstring):
@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(16))
def ping_response(ip):
"""Wait for ping to respond on the given IP.