Increase timeout on instance creation

See https://bugs.launchpad.net/charm-nova-compute/+bug/1945991

Change-Id: I2e66e22258fce4b0fcd5443b104fad6a5a720b0b
This commit is contained in:
Aurelien Lourot
2021-10-04 15:14:51 +02:00
parent d689fb91fc
commit eeebe68117

View File

@@ -125,6 +125,9 @@ def launch_instance(instance_key, use_boot_volume=False, vm_name=None,
nova_client.servers,
instance.id,
expected_status='ACTIVE',
# NOTE(lourot): in some models this may sometimes take more than 15
# minutes. See lp:1945991
wait_iteration_max_time=120,
stop_after_attempt=16)
logging.info('Checking cloud init is complete')