1 heat_template_version: 2014-10-16
4 OpenStack control plane node. Can be wrapped in a ResourceGroup for scaling.
9 description: The password for the keystone admin account, used for monitoring, querying neutron etc.
14 description: The keystone auth secret.
17 CeilometerMeteringSecret:
19 description: Secret shared by the ceilometer services.
24 description: The password for the ceilometer service account.
29 description: The iSCSI helper to use with cinder.
31 CinderLVMLoopDeviceSize:
33 description: The size of the loopback file used by the cinder LVM driver.
37 description: The password for the cinder service account, used by cinder-api.
42 description: The DNS name of this cloud. E.g. ci-overcloud.tripleo.org
44 ControllerExtraConfig:
47 Controller specific configuration to inject into the cluster. Same
48 structure as ExtraConfig.
50 ControlVirtualInterface:
52 description: Interface where virtual ip will be assigned.
56 description: Set to True to enable debugging on all services.
61 Additional configuration to inject into the cluster. The JSON should have
62 the following structure:
65 [{"section": "SECTIONNAME",
67 [{"option": "OPTIONNAME",
78 [{"section": "default",
80 [{"option": "compute_manager",
81 "value": "ironic.nova.compute.manager.ClusterComputeManager"
88 "value": "nova.cells.rpc_driver.CellsRPCDriver"
97 description: Flavor for control nodes to request when deploying.
100 - custom_constraint: nova.flavor
101 GlanceNotifierStrategy:
102 description: Strategy to use for Glance notification queue
106 description: The filepath of the file to use for logging messages from Glance.
111 description: The password for the glance service account, used by the glance services.
116 description: Glance port.
120 description: Protocol to use when connecting to glance, set to https for SSL.
124 description: The password for the Heat service account, used by the Heat services.
127 HeatStackDomainAdminPassword:
128 description: Password for heat_domain_admin user.
134 default: overcloud-control
136 - custom_constraint: glance.image
138 default: 'REBUILD_PRESERVE_EPHEMERAL'
139 description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
143 description: Name of an existing EC2 KeyPair to enable SSH access to the instances
146 - custom_constraint: nova.keypair
147 KeystoneCACertificate:
149 description: Keystone self-signed certificate authority certificate.
151 KeystoneSigningCertificate:
153 description: Keystone certificate for verifying token validity.
157 description: Keystone key for signing tokens.
160 KeystoneSSLCertificate:
162 description: Keystone certificate for verifying token validity.
164 KeystoneSSLCertificateKey:
166 description: Keystone key for signing tokens.
169 MysqlClusterUniquePart:
170 description: A unique identifier of the MySQL cluster the controller is in.
172 default: 'unset' # Has to be here because of the ignored empty value bug
173 # Drop the validation: https://bugs.launchpad.net/tripleo/+bug/1405446
175 # - length: {min: 4, max: 10}
176 MysqlInnodbBufferPoolSize:
178 Specifies the size of the buffer pool in megabytes. Setting to
179 zero should be interpreted as "no value" and will defer to the
186 default: '' # Has to be here because of the ignored empty value bug
187 NeutronBridgeMappings:
189 The OVS logical->physical bridge mappings to use. See the Neutron
190 documentation for details. Defaults to mapping br-ex - the external
191 bridge on hosts - to a physical name 'datacentre' which can be used
192 to create provider networks (and we use this for the default floating
193 network) - if changing this either use different post-install network
194 scripts or be sure to keep 'datacentre' as a mapping network name.
197 NeutronDnsmasqOptions:
198 default: 'dhcp-option-force=26,1400'
199 description: Dnsmasq options for neutron-dhcp-agent. The default value here forces MTU to be set to 1400 to account for the gre tunnel overhead.
203 description: Agent mode for the neutron-l3-agent on the controller hosts
207 description: Whether to configure Neutron Distributed Virtual Routers
209 NeutronMetadataProxySharedSecret:
211 description: Shared secret to prevent spoofing
213 NeutronMechanismDrivers:
214 default: 'openvswitch'
216 The mechanism drivers for the Neutron tenant network. To specify multiple
217 values, use a comma separated string, like so: 'openvswitch,l2_population'
219 NeutronAllowL3AgentFailover:
221 description: Allow automatic l3-agent failover
223 NeutronEnableTunnelling:
229 description: If set, flat networks to configure in neutron plugins.
232 description: The tenant network type for Neutron, either gre or vxlan.
234 NeutronNetworkVLANRanges:
235 default: 'datacentre'
237 The Neutron ML2 and OpenVSwitch vlan mapping range to support. See the
238 Neutron documentation for permitted values. Defaults to permitting any
239 VLAN on the 'datacentre' physical network (See NeutronBridgeMappings).
243 description: The password for the neutron service account, used by neutron agents.
246 NeutronPublicInterface:
248 description: What interface to bridge onto br-ex for network nodes.
250 NeutronPublicInterfaceTag:
253 VLAN tag for creating a public VLAN. The tag will be used to
254 create an access port on the exterior bridge for each control plane node,
255 and that port will be given the IP address returned by neutron from the
256 public network. Set CONTROLEXTRA=overcloud-vlan-port.yaml when compiling
257 overcloud.yaml to include the deployment of VLAN ports to the control
260 NeutronPublicInterfaceDefaultRoute:
262 description: A custom default route for the NeutronPublicInterface.
264 NeutronPublicInterfaceIP:
266 description: A custom IP address to put onto the NeutronPublicInterface.
268 NeutronPublicInterfaceRawDevice:
270 description: If set, the public interface is a vlan with this device as the raw device.
275 The tunnel types for the Neutron tenant network. To specify multiple
276 values, use a comma separated string, like so: 'gre,vxlan'
280 description: The password for the nova service account, used by nova-api.
286 PublicVirtualInterface:
289 Specifies the interface where the public-facing virtual ip will be assigned.
290 This should be int_public when a VLAN is being used.
294 default: '' # Has to be here because of the ignored empty value bug
297 default: '' # Has to be here because of the ignored empty value bug
301 description: The password for RabbitMQ
306 description: The username for RabbitMQ
311 Rabbit client subscriber parameter to specify
312 an SSL connection to the RabbitMQ host.
316 description: Set rabbit subscriber port, change this if using SSL
318 SnmpdReadonlyUserName:
319 default: ro_snmp_user
320 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
322 SnmpdReadonlyUserPassword:
324 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
329 description: If set, the contents of an SSL certificate authority file.
333 description: If set, the contents of an SSL certificate .crt file for encrypting SSL endpoints.
338 description: If set, the contents of an SSL certificate .key file for encrypting SSL endpoints.
343 description: A random string to be used as a salt when hashing to determine mappings
349 description: Partition Power to use when building Swift rings
353 description: The password for the swift service account, used by the swift proxy
360 description: How many replicas to use in the swift rings.
363 default: '' # Has to be here because of the ignored empty value bug
369 type: OS::Nova::Server
371 image: {get_param: Image}
372 image_update_policy: {get_param: ImageUpdatePolicy}
373 flavor: {get_param: Flavor}
374 key_name: {get_param: KeyName}
377 user_data_format: SOFTWARE_CONFIG
380 type: OS::TripleO::Controller::SoftwareConfig
382 # allow configs to create sub-resources attached to the controller
383 controller_id: {get_resource: Controller}
385 ControllerPassthroughConfig:
386 type: OS::Heat::StructuredConfig
388 group: os-apply-config
389 config: {get_input: passthrough_config}
391 ControllerPassthroughConfigSpecific:
392 type: OS::Heat::StructuredConfig
394 group: os-apply-config
395 config: {get_input: passthrough_config_specific}
397 ControllerDeployment:
398 type: OS::TripleO::SoftwareDeployment
400 signal_transport: NO_SIGNAL
401 config: {get_attr: [ControllerConfig, config_id]}
402 server: {get_resource: Controller}
404 bootstack_nodeid: {get_attr: [Controller, name]}
405 controller_host: {get_attr: [Controller, networks, ctlplane, 0]}
406 controller_virtual_ip: {get_param: VirtualIP}
407 neutron_enable_tunneling: {get_param: NeutronEnableTunnelling}
408 heat.watch_server_url:
412 - {get_param: VirtualIP}
414 heat.metadata_server_url:
418 - {get_param: VirtualIP}
420 heat.waitcondition_server_url:
424 - {get_param: VirtualIP}
425 - ':8000/v1/waitcondition'
426 admin_password: {get_param: AdminPassword}
427 admin_token: {get_param: AdminToken}
428 neutron_public_interface_ip: {get_param: NeutronPublicInterfaceIP}
429 debug: {get_param: Debug}
430 cinder_lvm_loop_device_size: {get_param: CinderLVMLoopDeviceSize}
431 cinder_password: {get_param: CinderPassword}
432 cinder_iscsi_helper: {get_param: CinderISCSIHelper}
436 - - 'mysql://cinder:unset@'
437 - {get_param: VirtualIP}
439 glance_port: {get_param: GlancePort}
440 glance_protocol: {get_param: GlanceProtocol}
441 glance_password: {get_param: GlancePassword}
442 glance_notifier_strategy: {get_param: GlanceNotifierStrategy}
443 glance_log_file: {get_param: GlanceLogFile}
447 - - 'mysql://glance:unset@'
448 - {get_param: VirtualIP}
450 heat_password: {get_param: HeatPassword}
451 heat_stack_domain_admin_password: {get_param: HeatStackDomainAdminPassword}
455 - - 'mysql://heat:unset@'
456 - {get_param: VirtualIP}
458 keystone_ca_certificate: {get_param: KeystoneCACertificate}
459 keystone_signing_key: {get_param: KeystoneSigningKey}
460 keystone_signing_certificate: {get_param: KeystoneSigningCertificate}
461 keystone_ssl_certificate: {get_param: KeystoneSSLCertificate}
462 keystone_ssl_certificate_key: {get_param: KeystoneSSLCertificateKey}
466 - - 'mysql://keystone:unset@'
467 - {get_param: VirtualIP}
469 mysql_innodb_buffer_pool_size: {get_param: MysqlInnodbBufferPoolSize}
470 mysql_root_password: {get_param: MysqlRootPassword}
473 template: tripleo-CLUSTER
475 CLUSTER: {get_param: MysqlClusterUniquePart}
476 neutron_flat_networks: {get_param: NeutronFlatNetworks}
477 neutron_metadata_proxy_shared_secret: {get_param: NeutronMetadataProxySharedSecret}
478 neutron_agent_mode: {get_param: NeutronAgentMode}
479 neutron_router_distributed: {get_param: NeutronDVR}
480 neutron_mechanism_drivers: {get_param: NeutronMechanismDrivers}
481 neutron_allow_l3agent_failover: {get_param: NeutronAllowL3AgentFailover}
482 neutron_network_vlan_ranges: {get_param: NeutronNetworkVLANRanges}
483 neutron_bridge_mappings: {get_param: NeutronBridgeMappings}
484 neutron_public_interface: {get_param: NeutronPublicInterface}
485 neutron_public_interface_raw_device: {get_param: NeutronPublicInterfaceRawDevice}
486 neutron_public_interface_default_route: {get_param: NeutronPublicInterfaceDefaultRoute}
487 neutron_public_interface_tag: {get_param: NeutronPublicInterfaceTag}
488 neutron_tenant_network_type: {get_param: NeutronNetworkType}
489 neutron_tunnel_types: {get_param: NeutronTunnelTypes}
490 neutron_password: {get_param: NeutronPassword}
491 neutron_dnsmasq_options: {get_param: NeutronDnsmasqOptions}
495 - - 'mysql://neutron:unset@'
496 - {get_param: VirtualIP}
497 - '/ovs_neutron?charset=utf8'
498 ceilometer_metering_secret: {get_param: CeilometerMeteringSecret}
499 ceilometer_password: {get_param: CeilometerPassword}
503 - - 'mysql://ceilometer:unset@'
504 - {get_param: VirtualIP}
506 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
507 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
508 nova_password: {get_param: NovaPassword}
512 - - 'mysql://nova:unset@'
513 - {get_param: VirtualIP}
515 rabbit_username: {get_param: RabbitUserName}
516 rabbit_password: {get_param: RabbitPassword}
517 rabbit_cookie: {get_param: RabbitCookie}
518 rabbit_client_use_ssl: {get_param: RabbitClientUseSSL}
519 rabbit_client_port: {get_param: RabbitClientPort}
520 ntp_server: {get_param: NtpServer}
521 control_virtual_interface: {get_param: ControlVirtualInterface}
522 public_virtual_interface: {get_param: PublicVirtualInterface}
523 public_virtual_ip: {get_param: PublicVirtualIP}
526 type: OS::Heat::StructuredConfig
528 group: os-apply-config
531 ca_certificate: {get_input: ssl_ca_certificate}
533 cert: {get_input: ssl_certificate}
534 key: {get_input: ssl_key}
535 cacert: {get_input: ssl_ca_certificate}
540 connect_host: {get_input: controller_host}
544 connect_host: {get_input: controller_host}
548 connect_host: {get_input: controller_host}
552 connect_host: {get_input: controller_host}
556 connect_host: {get_input: controller_host}
557 - name: 'swift-proxy'
560 connect_host: {get_input: controller_host}
564 connect_host: {get_input: controller_host}
568 connect_host: {get_input: controller_host}
570 ControllerSSLDeployment:
571 type: OS::Heat::StructuredDeployment
573 config: {get_resource: SSLConfig}
574 server: {get_resource: Controller}
575 signal_transport: NO_SIGNAL
577 controller_host: {get_attr: [Controller, networks, ctlplane, 0]}
578 ssl_certificate: {get_param: SSLCertificate}
579 ssl_key: {get_param: SSLKey}
580 ssl_ca_certificate: {get_param: SSLCACertificate}
582 ControllerPassthroughDeployment:
583 type: OS::Heat::StructuredDeployment
585 config: {get_resource: ControllerPassthroughConfig}
586 server: {get_resource: Controller}
587 signal_transport: NO_SIGNAL
589 passthrough_config: {get_param: ExtraConfig}
591 ControllerPassthroughSpecificDeployment:
592 depends_on: [ControllerPassthroughDeployment]
593 type: OS::Heat::StructuredDeployment
595 config: {get_resource: ControllerPassthroughConfigSpecific}
596 server: {get_resource: Controller}
597 signal_transport: NO_SIGNAL
599 passthrough_config_specific: {get_param: ControllerExtraConfig}
602 type: OS::Heat::StructuredConfig
604 group: os-apply-config
607 hash: { get_input: swift_hash_suffix }
608 part-power: { get_input: swift_part_power }
609 replicas: {get_input: swift_replicas }
610 service-password: { get_input: swift_password }
613 type: OS::Heat::StructuredDeployment
615 server: {get_resource: Controller}
616 config: {get_resource: SwiftConfig}
617 signal_transport: NO_SIGNAL
619 swift_hash_suffix: {get_param: SwiftHashSuffix}
620 swift_password: {get_param: SwiftPassword}
621 swift_part_power: {get_param: SwiftPartPower}
622 swift_replicas: { get_param: SwiftReplicas}
626 description: IP address of the server in the ctlplane network
627 value: {get_attr: [Controller, networks, ctlplane, 0]}
629 description: Hostname of the server
630 value: {get_attr: [Controller, name]}
633 Node object in the format {ip: ..., name: ...} format that the corosync
636 ip: {get_attr: [Controller, networks, ctlplane, 0]}
637 name: {get_attr: [Controller, name]}
640 Server's IP address and hostname in the /etc/hosts format
643 template: IP HOST HOST.novalocal CLOUDNAME
645 IP: {get_attr: [Controller, networks, ctlplane, 0]}
646 HOST: {get_attr: [Controller, name]}
647 CLOUDNAME: {get_param: CloudName}
648 nova_server_resource:
649 description: Heat resource handle for the Nova compute server
651 {get_resource: Controller}
653 description: Swift device formatted for swift-ring-builder
656 template: 'r1z1-IP:%PORT%/d1'
658 IP: {get_attr: [Controller, networks, ctlplane, 0]}
659 swift_proxy_memcache:
660 description: Swift proxy-memcache value
665 IP: {get_attr: [Controller, networks, ctlplane, 0]}