Retry the check_default_nodes_count workflow for 2 minutes
Nova updates its cache of bare metal nodes once in 2 minutes. If a new deployment is run right after the previous one, the cache may be outdated, and the second deployment may fail validation. This change introduces a retry where check_default_nodes_count workflow is called. Closes-Bug: #1728650 Change-Id: I43a97f7f9bc4e7062a47003e5d9d06ebe3716450
This commit is contained in:
parent
5af31b876e
commit
5b61f5a149
@ -771,6 +771,8 @@ workflows:
|
|||||||
|
|
||||||
check_default_nodes_count:
|
check_default_nodes_count:
|
||||||
workflow: check_default_nodes_count
|
workflow: check_default_nodes_count
|
||||||
|
# ironic-nova sync happens once in two minutes
|
||||||
|
retry: count=12 delay=10
|
||||||
input:
|
input:
|
||||||
stack_id: <% $.stack_id %>
|
stack_id: <% $.stack_id %>
|
||||||
parameters: <% $.parameters %>
|
parameters: <% $.parameters %>
|
||||||
|
Loading…
Reference in New Issue
Block a user