1 HeatTemplateFormatVersion: '2012-12-12'
2 Description: 'Nova Compute'
6 Description: The password for the keystone admin account, used for monitoring, querying neutron etc.
10 Description: Name of an existing EC2 KeyPair to enable SSH access to the instances
13 OvercloudComputeFlavor:
14 Description: Use this flavor
18 Default: 'REBUILD_PRESERVE_EPHEMERAL'
19 Description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
23 Default: overcloud-compute
29 Description: If set, flat networks to configure in neutron plugins.
32 NeutronPhysicalBridge:
34 Description: An OVS bridge to create for accessing external networks.
36 NeutronPublicInterface:
38 Description: A port to add to the NeutronPhysicalBridge.
47 CeilometerComputeAgent:
48 Description: Indicates whether the Compute agent is present and expects nova-compute to be configured accordingly
51 AllowedValues: ['', Present]
52 CeilometerMeteringSecret:
54 Description: Secret shared by the ceilometer services.
59 Description: The password for the ceilometer service account.
64 Default: libvirt.LibvirtDriver
65 NovaComputeLibvirtType:
72 Description: The password for the nova service account, used by nova-api.
83 NeutronBridgeMappings:
85 NeutronNetworkVLANRanges:
89 NeutronEnableTunnelling:
93 Description: Static content to append to /etc/hosts
97 Description: The live-update username for the undercloud Glance API.
101 Description: The live-update tenant name for the undercloud Glance API.
105 Description: The IP address for the undercloud Glance API.
110 Description: The live-update password for the undercloud Glance API.
112 LiveUpdateComputeImage:
114 Description: The image ID for live-updates to the overcloud compute nodes.
118 Type: OS::Heat::AccessPolicy
120 AllowedResources: [ NovaCompute0 ]
124 Policies: [ { Ref: ComputeAccessPolicy } ]
126 Type: AWS::IAM::AccessKey
130 NovaCompute0CompletionCondition:
131 Type: AWS::CloudFormation::WaitCondition
132 DependsOn: controller0Config
134 Handle: {Ref: NovaCompute0CompletionHandle}
137 NovaCompute0CompletionHandle:
138 Type: AWS::CloudFormation::WaitConditionHandle
140 Type: OS::Nova::Server
145 Ref: ImageUpdatePolicy
146 flavor: {Ref: OvercloudComputeFlavor}
147 key_name: {Ref: KeyName}
154 Fn::GetAtt: [ NovaCompute0Key, SecretAccessKey ]
155 stack_name: {Ref: 'AWS::StackName'}
156 path: NovaCompute0Config.Metadata
157 OpenStack::ImageBuilder::Elements: [ nova-compute ]
159 Type: AWS::AutoScaling::LaunchConfiguration
165 Ref: NovaCompute0CompletionHandle
171 Fn::GetAtt: [ NovaCompute0Key, SecretAccessKey ]
172 stack_name: {Ref: 'AWS::StackName'}
173 path: NovaCompute0Config.Metadata
175 compute_driver: {Ref: NovaComputeDriver}
176 compute_libvirt_type: {Ref: NovaComputeLibvirtType}
178 host: {Ref: NovaApiHost}
182 db: {Ref: CeilometerDSN}
183 metering_secret: {Ref: CeilometerMeteringSecret}
184 service-password: {Ref: CeilometerPassword}
185 compute_agent: {Ref: CeilometerComputeAgent}
187 host: {Ref: GlanceHost}
188 hosts: {Ref: StaticHosts}
190 host: {Ref: KeystoneHost}
192 flat-networks: {Ref: NeutronFlatNetworks}
193 host: {Ref: NeutronHost}
194 ovs_db: {Ref: NeutronDSN}
204 tenant_network_type: {Ref: NeutronNetworkType}
205 network_vlan_ranges: {Ref: NeutronNetworkVLANRanges}
206 bridge_mappings: {Ref: NeutronBridgeMappings}
207 enable_tunneling: {Ref: NeutronEnableTunnelling}
208 physical_bridge: {Ref: NeutronPhysicalBridge}
209 public_interface: {Ref: NeutronPublicInterface}
212 admin-password: {Ref: AdminPassword}
214 host: {Ref: RabbitHost}
215 username: {Ref: RabbitUserName}
216 password: {Ref: RabbitPassword}
218 host: {Ref: LiveUpdateHost}
219 username: {Ref: LiveUpdateUserName}
220 password: {Ref: LiveUpdatePassword}
221 tenant-name: {Ref: LiveUpdateTenantName}
222 base_image_id: {Ref: NovaImage}
223 live_update_image_id: {Ref: LiveUpdateComputeImage}