aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud.j2.yaml
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2016-10-06 19:15:29 +0100
committermarios <marios@redhat.com>2016-10-07 11:39:20 +0300
commitc70af3e3c3fb4b2b48504b555a1575333f0f6ee3 (patch)
treef9e2e2cb55871a82f5d1dd5fdf884d1531a207e6 /overcloud.j2.yaml
parentf9c3481c3ef3e1be5a7c86dc3717d20824745399 (diff)
Serialize AllNodesDeployment and UpdateWorkflow
Otherwise there may be a race between updating the hiera and running the UpdateWorkflow Change-Id: I22cd893e0db3df6d39504fbd61d7d9024cebb1c5 Related-Bug: 1631297
Diffstat (limited to 'overcloud.j2.yaml')
-rw-r--r--overcloud.j2.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml
index bb50395e..6d655c7a 100644
--- a/overcloud.j2.yaml
+++ b/overcloud.j2.yaml
@@ -487,6 +487,10 @@ resources:
UpdateWorkflow:
type: OS::TripleO::Tasks::UpdateWorkflow
+ depends_on:
+{% for role in roles %}
+ - {{role.name}}AllNodesDeployment
+{% endfor %}
properties:
servers:
{% for role in roles %}