Make AllNodesExtraConfig depend on the validation deployments
authorJames Slagle <jslagle@redhat.com>
Fri, 4 Mar 2016 21:20:05 +0000 (16:20 -0500)
committerJames Slagle <jslagle@redhat.com>
Fri, 4 Mar 2016 21:20:05 +0000 (16:20 -0500)
AllNodesExtraConfig should really only run after the validation
deployments are done, which validate that basic networking is
functioning.

In particular, creating a swap file during AllNodesExtraConfig while the
validation deployments are still running might cause temporary network
outages which could fail the validations.

Change-Id: Ia2a10318de47854a9b8932d72243ce0a85603556
Partial-Bug: #1553243

overcloud.yaml

index d6048de..0bb2dbd 100644 (file)
@@ -1549,7 +1549,13 @@ resources:
   # the nested template may configure each role differently (or not at all)
   AllNodesExtraConfig:
     type: OS::TripleO::AllNodesExtraConfig
-    depends_on: UpdateWorkflow
+    depends_on:
+      - UpdateWorkflow
+      - ComputeAllNodesValidationDeployment
+      - BlockStorageAllNodesValidationDeployment
+      - ObjectStorageAllNodesValidationDeployment
+      - CephStorageAllNodesValidationDeployment
+      - ControllerAllNodesValidationDeployment
     properties:
       controller_servers: {get_attr: [Controller, attributes, nova_server_resource]}
       compute_servers: {get_attr: [Compute, attributes, nova_server_resource]}