aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2014-05-16 08:49:15 +1200
committerRobert Collins <rbtcollins@hp.com>2014-05-16 08:49:15 +1200
commitae1816d8db2f6fe727edcacefd9abcaf1ec9576a (patch)
tree1d2f609c3ab31f91b48880f2cbb3f8ee9556a2c3
parentd9d4143d153672e8a76529c1d313c8b08e0ef030 (diff)
Sequence deploys - compute after control plane.
The control plane has to be up before the compute deployments can work. By sequencing these we permit stopping the o-r-c scripts in the overcloud rather than trying and failing to configure things. It also reduces the total deploy time by front loading control plane configuration - Heat has some sequence code which prevents parallel instantiation on deployments, and the control plane bring up is critical path for deploying OpenStack. Change-Id: I0bb2f8ab41c4af1443af60f7547673d495e4e0fb
-rw-r--r--nova-compute-instance.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml
index 71e47ccc..76a67766 100644
--- a/nova-compute-instance.yaml
+++ b/nova-compute-instance.yaml
@@ -162,6 +162,7 @@ Resources:
key_name: {Ref: KeyName}
user_data_format: SOFTWARE_CONFIG
NovaCompute0Deploy:
+ DependsOn: [controller0Deployment]
Type: OS::Heat::StructuredDeployment
Properties:
config: {Ref: NovaComputeConfig}