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
225 description: Whether to enable l3-agent HA
227 NeutronEnableTunnelling:
233 description: If set, flat networks to configure in neutron plugins.
236 description: The tenant network type for Neutron, either gre or vxlan.
238 NeutronNetworkVLANRanges:
239 default: 'datacentre'
241 The Neutron ML2 and OpenVSwitch vlan mapping range to support. See the
242 Neutron documentation for permitted values. Defaults to permitting any
243 VLAN on the 'datacentre' physical network (See NeutronBridgeMappings).
247 description: The password for the neutron service account, used by neutron agents.
250 NeutronPublicInterface:
252 description: What interface to bridge onto br-ex for network nodes.
254 NeutronPublicInterfaceTag:
257 VLAN tag for creating a public VLAN. The tag will be used to
258 create an access port on the exterior bridge for each control plane node,
259 and that port will be given the IP address returned by neutron from the
260 public network. Set CONTROLEXTRA=overcloud-vlan-port.yaml when compiling
261 overcloud.yaml to include the deployment of VLAN ports to the control
264 NeutronPublicInterfaceDefaultRoute:
266 description: A custom default route for the NeutronPublicInterface.
268 NeutronPublicInterfaceIP:
270 description: A custom IP address to put onto the NeutronPublicInterface.
272 NeutronPublicInterfaceRawDevice:
274 description: If set, the public interface is a vlan with this device as the raw device.
279 The tunnel types for the Neutron tenant network. To specify multiple
280 values, use a comma separated string, like so: 'gre,vxlan'
284 description: The password for the nova service account, used by nova-api.
290 PublicVirtualInterface:
293 Specifies the interface where the public-facing virtual ip will be assigned.
294 This should be int_public when a VLAN is being used.
298 default: '' # Has to be here because of the ignored empty value bug
301 default: '' # Has to be here because of the ignored empty value bug
305 description: The password for RabbitMQ
310 description: The username for RabbitMQ
315 Rabbit client subscriber parameter to specify
316 an SSL connection to the RabbitMQ host.
320 description: Set rabbit subscriber port, change this if using SSL
322 SnmpdReadonlyUserName:
323 default: ro_snmp_user
324 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
326 SnmpdReadonlyUserPassword:
328 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
333 description: If set, the contents of an SSL certificate authority file.
337 description: If set, the contents of an SSL certificate .crt file for encrypting SSL endpoints.
342 description: If set, the contents of an SSL certificate .key file for encrypting SSL endpoints.
347 description: A random string to be used as a salt when hashing to determine mappings
353 description: Value of mount_check in Swift account/container/object -server.conf
358 description: The minimum time (in hours) before a partition in a ring can be moved following a rebalance.
361 description: Partition Power to use when building Swift rings
365 description: The password for the swift service account, used by the swift proxy
372 description: How many replicas to use in the swift rings.
375 default: '' # Has to be here because of the ignored empty value bug
381 type: OS::Nova::Server
383 image: {get_param: Image}
384 image_update_policy: {get_param: ImageUpdatePolicy}
385 flavor: {get_param: Flavor}
386 key_name: {get_param: KeyName}
389 user_data_format: SOFTWARE_CONFIG
392 type: OS::TripleO::Net::SoftwareConfig
395 type: OS::TripleO::SoftwareDeployment
397 signal_transport: NO_SIGNAL
398 config: {get_attr: [NetworkConfig, config_id]}
399 server: {get_resource: Controller}
402 interface_name: {get_param: NeutronPublicInterface}
405 type: OS::TripleO::Controller::SoftwareConfig
407 # allow configs to create sub-resources attached to the controller
408 controller_id: {get_resource: Controller}
410 ControllerPassthroughConfig:
411 type: OS::Heat::StructuredConfig
413 group: os-apply-config
414 config: {get_input: passthrough_config}
416 ControllerPassthroughConfigSpecific:
417 type: OS::Heat::StructuredConfig
419 group: os-apply-config
420 config: {get_input: passthrough_config_specific}
422 ControllerDeployment:
423 type: OS::TripleO::SoftwareDeployment
425 signal_transport: NO_SIGNAL
426 config: {get_attr: [ControllerConfig, config_id]}
427 server: {get_resource: Controller}
429 bootstack_nodeid: {get_attr: [Controller, name]}
430 controller_host: {get_attr: [Controller, networks, ctlplane, 0]}
431 controller_virtual_ip: {get_param: VirtualIP}
432 neutron_enable_tunneling: {get_param: NeutronEnableTunnelling}
433 heat.watch_server_url:
437 - {get_param: VirtualIP}
439 heat.metadata_server_url:
443 - {get_param: VirtualIP}
445 heat.waitcondition_server_url:
449 - {get_param: VirtualIP}
450 - ':8000/v1/waitcondition'
451 admin_password: {get_param: AdminPassword}
452 admin_token: {get_param: AdminToken}
453 neutron_public_interface_ip: {get_param: NeutronPublicInterfaceIP}
454 debug: {get_param: Debug}
455 cinder_lvm_loop_device_size: {get_param: CinderLVMLoopDeviceSize}
456 cinder_password: {get_param: CinderPassword}
457 cinder_iscsi_helper: {get_param: CinderISCSIHelper}
461 - - 'mysql://cinder:unset@'
462 - {get_param: VirtualIP}
464 glance_port: {get_param: GlancePort}
465 glance_protocol: {get_param: GlanceProtocol}
466 glance_password: {get_param: GlancePassword}
467 glance_notifier_strategy: {get_param: GlanceNotifierStrategy}
468 glance_log_file: {get_param: GlanceLogFile}
472 - - 'mysql://glance:unset@'
473 - {get_param: VirtualIP}
475 heat_password: {get_param: HeatPassword}
476 heat_stack_domain_admin_password: {get_param: HeatStackDomainAdminPassword}
480 - - 'mysql://heat:unset@'
481 - {get_param: VirtualIP}
483 keystone_ca_certificate: {get_param: KeystoneCACertificate}
484 keystone_signing_key: {get_param: KeystoneSigningKey}
485 keystone_signing_certificate: {get_param: KeystoneSigningCertificate}
486 keystone_ssl_certificate: {get_param: KeystoneSSLCertificate}
487 keystone_ssl_certificate_key: {get_param: KeystoneSSLCertificateKey}
491 - - 'mysql://keystone:unset@'
492 - {get_param: VirtualIP}
494 mysql_innodb_buffer_pool_size: {get_param: MysqlInnodbBufferPoolSize}
495 mysql_root_password: {get_param: MysqlRootPassword}
498 template: tripleo-CLUSTER
500 CLUSTER: {get_param: MysqlClusterUniquePart}
501 neutron_flat_networks: {get_param: NeutronFlatNetworks}
502 neutron_metadata_proxy_shared_secret: {get_param: NeutronMetadataProxySharedSecret}
503 neutron_agent_mode: {get_param: NeutronAgentMode}
504 neutron_router_distributed: {get_param: NeutronDVR}
505 neutron_mechanism_drivers: {get_param: NeutronMechanismDrivers}
506 neutron_allow_l3agent_failover: {get_param: NeutronAllowL3AgentFailover}
507 neutron_network_vlan_ranges: {get_param: NeutronNetworkVLANRanges}
508 neutron_bridge_mappings: {get_param: NeutronBridgeMappings}
509 neutron_public_interface: {get_param: NeutronPublicInterface}
510 neutron_public_interface_raw_device: {get_param: NeutronPublicInterfaceRawDevice}
511 neutron_public_interface_default_route: {get_param: NeutronPublicInterfaceDefaultRoute}
512 neutron_public_interface_tag: {get_param: NeutronPublicInterfaceTag}
513 neutron_tenant_network_type: {get_param: NeutronNetworkType}
514 neutron_tunnel_types: {get_param: NeutronTunnelTypes}
515 neutron_password: {get_param: NeutronPassword}
516 neutron_dnsmasq_options: {get_param: NeutronDnsmasqOptions}
520 - - 'mysql://neutron:unset@'
521 - {get_param: VirtualIP}
522 - '/ovs_neutron?charset=utf8'
523 ceilometer_metering_secret: {get_param: CeilometerMeteringSecret}
524 ceilometer_password: {get_param: CeilometerPassword}
528 - - 'mysql://ceilometer:unset@'
529 - {get_param: VirtualIP}
531 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
532 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
533 nova_password: {get_param: NovaPassword}
537 - - 'mysql://nova:unset@'
538 - {get_param: VirtualIP}
540 rabbit_username: {get_param: RabbitUserName}
541 rabbit_password: {get_param: RabbitPassword}
542 rabbit_cookie: {get_param: RabbitCookie}
543 rabbit_client_use_ssl: {get_param: RabbitClientUseSSL}
544 rabbit_client_port: {get_param: RabbitClientPort}
545 ntp_server: {get_param: NtpServer}
546 control_virtual_interface: {get_param: ControlVirtualInterface}
547 public_virtual_interface: {get_param: PublicVirtualInterface}
548 public_virtual_ip: {get_param: PublicVirtualIP}
551 type: OS::Heat::StructuredConfig
553 group: os-apply-config
556 ca_certificate: {get_input: ssl_ca_certificate}
558 cert: {get_input: ssl_certificate}
559 key: {get_input: ssl_key}
560 cacert: {get_input: ssl_ca_certificate}
565 connect_host: {get_input: controller_host}
569 connect_host: {get_input: controller_host}
573 connect_host: {get_input: controller_host}
577 connect_host: {get_input: controller_host}
581 connect_host: {get_input: controller_host}
582 - name: 'swift-proxy'
585 connect_host: {get_input: controller_host}
589 connect_host: {get_input: controller_host}
593 connect_host: {get_input: controller_host}
595 ControllerSSLDeployment:
596 type: OS::Heat::StructuredDeployment
598 config: {get_resource: SSLConfig}
599 server: {get_resource: Controller}
600 signal_transport: NO_SIGNAL
602 controller_host: {get_attr: [Controller, networks, ctlplane, 0]}
603 ssl_certificate: {get_param: SSLCertificate}
604 ssl_key: {get_param: SSLKey}
605 ssl_ca_certificate: {get_param: SSLCACertificate}
607 ControllerPassthroughDeployment:
608 type: OS::Heat::StructuredDeployment
610 config: {get_resource: ControllerPassthroughConfig}
611 server: {get_resource: Controller}
612 signal_transport: NO_SIGNAL
614 passthrough_config: {get_param: ExtraConfig}
616 ControllerPassthroughSpecificDeployment:
617 depends_on: [ControllerPassthroughDeployment]
618 type: OS::Heat::StructuredDeployment
620 config: {get_resource: ControllerPassthroughConfigSpecific}
621 server: {get_resource: Controller}
622 signal_transport: NO_SIGNAL
624 passthrough_config_specific: {get_param: ControllerExtraConfig}
627 type: OS::Heat::StructuredConfig
629 group: os-apply-config
632 hash: { get_input: swift_hash_suffix }
633 part-power: { get_input: swift_part_power }
634 mount-check: { get_input: swift_mount_check }
635 min-part-hours: { get_input: swift_min_part_hours }
636 replicas: {get_input: swift_replicas }
637 service-password: { get_input: swift_password }
640 type: OS::Heat::StructuredDeployment
642 server: {get_resource: Controller}
643 config: {get_resource: SwiftConfig}
644 signal_transport: NO_SIGNAL
646 swift_hash_suffix: {get_param: SwiftHashSuffix}
647 swift_mount_check: {get_param: SwiftMountCheck}
648 swift_password: {get_param: SwiftPassword}
649 swift_min_part_hours: {get_param: SwiftMinPartHours}
650 swift_part_power: {get_param: SwiftPartPower}
651 swift_replicas: { get_param: SwiftReplicas}
655 description: IP address of the server in the ctlplane network
656 value: {get_attr: [Controller, networks, ctlplane, 0]}
658 description: Hostname of the server
659 value: {get_attr: [Controller, name]}
662 Node object in the format {ip: ..., name: ...} format that the corosync
665 ip: {get_attr: [Controller, networks, ctlplane, 0]}
666 name: {get_attr: [Controller, name]}
669 Server's IP address and hostname in the /etc/hosts format
672 template: IP HOST HOST.novalocal CLOUDNAME
674 IP: {get_attr: [Controller, networks, ctlplane, 0]}
675 HOST: {get_attr: [Controller, name]}
676 CLOUDNAME: {get_param: CloudName}
677 nova_server_resource:
678 description: Heat resource handle for the Nova compute server
680 {get_resource: Controller}
682 description: Swift device formatted for swift-ring-builder
685 template: 'r1z1-IP:%PORT%/d1'
687 IP: {get_attr: [Controller, networks, ctlplane, 0]}
688 swift_proxy_memcache:
689 description: Swift proxy-memcache value
694 IP: {get_attr: [Controller, networks, ctlplane, 0]}