summaryrefslogtreecommitdiffstats
path: root/nova-compute-instance.yaml
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2014-06-04 00:42:29 -0700
committerTomas Sedovic <tsedovic@redhat.com>2014-06-30 12:28:57 +0200
commit19271ebcd290997b99647da1e1e27ac21633aea4 (patch)
treeaf33394f5bc30ed067d0216aeb23dbad05aa2855 /nova-compute-instance.yaml
parent9e33760e06116fd44d9766b4b5828a29e69ec736 (diff)
Compute all hosts matrix once
Then feed in through separate deployments. This reduces the exponential growth of calculating the entire list for every server. Change-Id: Ib1187eabeb91b46e29ddcf5065056e43a69bb2a0
Diffstat (limited to 'nova-compute-instance.yaml')
-rw-r--r--nova-compute-instance.yaml12
1 files changed, 8 insertions, 4 deletions
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml
index d32159a3..f0a64cbf 100644
--- a/nova-compute-instance.yaml
+++ b/nova-compute-instance.yaml
@@ -145,10 +145,9 @@ Parameters:
Type: String
NeutronEnableTunnelling:
Type: String
- StaticHosts:
- Default: ''
- Description: Static content to append to /etc/hosts
+ HostsConfig:
Type: String
+ Description: OS::Heat::Config to use for hosts file deployment
LiveUpdateUserName:
Type: String
Description: The live-update username for the undercloud Glance API.
@@ -202,7 +201,6 @@ Resources:
glance_host: {Ref: GlanceHost}
glance_port: {Ref: GlancePort}
glance_protocol: {Ref: GlanceProtocol}
- static_hosts: {Ref: StaticHosts}
keystone_host: {Ref: KeystoneHost}
neutron_flat_networks: {Ref: NeutronFlatNetworks}
neutron_host: {Ref: NeutronHost}
@@ -226,6 +224,12 @@ Resources:
nova_image: {Ref: NovaImage}
live_update_image_id: {Ref: LiveUpdateComputeImage}
ntp_server: {Ref: NtpServer}
+ NovaCompute0HostsDeploy:
+ Type: OS::Heat::StructuredDeployment
+ Properties:
+ config: {Ref: HostsConfig}
+ server: {Ref: NovaCompute0}
+ signal_transport: NO_SIGNAL
NovaCompute0Passthrough:
Type: OS::Heat::StructuredDeployment
Properties: