From: Robert Collins Date: Thu, 15 May 2014 20:49:15 +0000 (+1200) Subject: Sequence deploys - compute after control plane. X-Git-Tag: opnfv-6.0.0~2826^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ae1816d8db2f6fe727edcacefd9abcaf1ec9576a;p=apex-tripleo-heat-templates.git 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 --- 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}