Merge "[TRAIN-Only] Increase deploy workflow wait" into stable/train

This commit is contained in:
Zuul 2020-08-17 20:30:58 +00:00 committed by Gerrit Code Review
commit afcd9abf7e
1 changed files with 4 additions and 3 deletions

View File

@ -52,10 +52,11 @@ def deploy(log, clients, **workflow_input):
) )
# The deploy workflow ends once the Heat create/update starts. This # The deploy workflow ends once the Heat create/update starts. This
# means that is shouldn't take very long. Wait for 10 minutes for # means that is shouldn't take very long. Wait 20 minutes for
# messages from the workflow. # complection because this also includes some container image prepare
# generation which may reach out to an external resource.
for payload in base.wait_for_messages(workflow_client, ws, execution, for payload in base.wait_for_messages(workflow_client, ws, execution,
600): 1200):
status = payload.get('status', 'RUNNING') status = payload.get('status', 'RUNNING')
message = payload.get('message') message = payload.get('message')
if message and status == "RUNNING": if message and status == "RUNNING":