From 5b61f5a1491a067ec91a2bf29d8bcd64e0d475c1 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Mon, 30 Oct 2017 17:28:42 +0100 Subject: [PATCH] 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 --- workbooks/validations.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workbooks/validations.yaml b/workbooks/validations.yaml index 2ada12e53..45cd66c7a 100644 --- a/workbooks/validations.yaml +++ b/workbooks/validations.yaml @@ -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 %>