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:
Dmitry Tantsur 2017-10-30 17:28:42 +01:00
parent 5af31b876e
commit 5b61f5a149
1 changed files with 2 additions and 0 deletions

View File

@ -771,6 +771,8 @@ workflows:
check_default_nodes_count:
workflow: check_default_nodes_count
# ironic-nova sync happens once in two minutes
retry: count=12 delay=10
input:
stack_id: <% $.stack_id %>
parameters: <% $.parameters %>