Specify the network for nodes
authorRobert Collins <rbtcollins@hp.com>
Wed, 2 Jul 2014 03:14:19 +0000 (15:14 +1200)
committerRobert Collins <rbtcollins@hp.com>
Sun, 6 Jul 2014 22:25:03 +0000 (10:25 +1200)
Without this, when there are multiple admin networks (e.g. a VLAN)
Nova will refuse to guess and we'll fail to deploy.

Change-Id: Id1dca43ef287fda2adcfdf5b5d30145b055dbe76

nova-compute-instance.yaml
overcloud-source.yaml
undercloud-source.yaml

index bb75ed9..baa20e2 100644 (file)
@@ -177,6 +177,8 @@ Resources:
         Ref: ImageUpdatePolicy
       flavor: {Ref: OvercloudComputeFlavor}
       key_name: {Ref: KeyName}
+      networks:
+        - network: ctlplane
       user_data_format: SOFTWARE_CONFIG
   NovaCompute0Deploy:
     DependsOn: [controller0Deployment]
index a80a24c..6bf9a59 100644 (file)
@@ -528,6 +528,8 @@ Resources:
         Ref: OvercloudControlFlavor
       key_name:
         Ref: KeyName
+      networks:
+        - network: ctlplane
       user_data_format: SOFTWARE_CONFIG
   controller0AllNodesConfig:
     Type: OS::Heat::StructuredDeployment
index 6651758..aa0c9ee 100644 (file)
@@ -305,6 +305,8 @@ Resources:
         Ref: KeyName
       image_update_policy:
         Ref: ImageUpdatePolicy
+      networks:
+        - network: ctlplane
       user_data_format: SOFTWARE_CONFIG
   99_undercloudDeployment:
     Type: OS::Heat::StructuredDeployment