1 heat_template_version: 2014-10-16
4 Nova API,Keystone,Heat Engine and API,Glance,Neutron,Dedicated MySQL
5 server,Dedicated RabbitMQ Server,Group of Nova Computes
8 # TODO(shadower): we should probably use the parameter groups to put
12 # Common parameters (not specific to a role)
15 description: The password for the keystone admin account, used for monitoring, querying neutron etc.
18 CeilometerMeteringSecret:
20 description: Secret shared by the ceilometer services.
25 description: The password for the ceilometer service account.
30 description: The DNS name of this cloud. E.g. ci-overcloud.tripleo.org
34 description: Should be used for arbitrary ips.
38 description: Set to True to enable debugging on all services.
40 DefaultSignalTransport:
42 description: Transport to use for software-config signals.
45 - allowed_values: [ CFN_SIGNAL, HEAT_SIGNAL, NO_SIGNAL ]
48 description: Glance port.
52 description: Protocol to use when connecting to glance, set to https for SSL.
55 default: 'REBUILD_PRESERVE_EPHEMERAL'
56 description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
60 description: Name of an existing EC2 KeyPair to enable SSH access to the instances
63 - custom_constraint: nova.keypair
64 NeutronBridgeMappings:
66 The OVS logical->physical bridge mappings to use. See the Neutron
67 documentation for details. Defaults to mapping br-ex - the external
68 bridge on hosts - to a physical name 'datacentre' which can be used
69 to create provider networks (and we use this for the default floating
70 network) - if changing this either use different post-install network
71 scripts or be sure to keep 'datacentre' as a mapping network name.
73 default: "datacentre:br-ex"
74 NeutronControlPlaneID:
77 description: Neutron ID for ctlplane network.
78 NeutronEnableTunnelling:
85 If set, flat networks to configure in neutron plugins. Defaults to
86 'datacentre' to permit external network creation.
89 description: The tenant network type for Neutron, either gre or vxlan.
93 description: The password for the neutron service account, used by neutron agents.
96 NeutronPublicInterface:
98 description: What interface to bridge onto br-ex for network nodes.
100 NeutronPublicInterfaceTag:
103 VLAN tag for creating a public VLAN. The tag will be used to
104 create an access port on the exterior bridge for each control plane node,
105 and that port will be given the IP address returned by neutron from the
106 public network. Set CONTROLEXTRA=overcloud-vlan-port.yaml when compiling
107 overcloud.yaml to include the deployment of VLAN ports to the control
110 NeutronComputeAgentMode:
112 description: Agent mode for the neutron-l3-agent on the compute hosts
116 description: Agent mode for the neutron-l3-agent on the controller hosts
120 description: Whether to configure Neutron Distributed Virtual Routers
122 NeutronMetadataProxySharedSecret:
124 description: Shared secret to prevent spoofing
129 The tunnel types for the Neutron tenant network. To specify multiple
130 values, use a comma separated string, like so: 'gre,vxlan'
132 NeutronMechanismDrivers:
133 default: 'openvswitch'
135 The mechanism drivers for the Neutron tenant network. To specify multiple
136 values, use a comma separated string, like so: 'openvswitch,l2_population'
138 NeutronAllowL3AgentFailover:
140 description: Allow automatic l3-agent failover
144 description: The password for the nova service account, used by nova-api.
150 PublicVirtualFixedIPs:
153 Control the IP allocation for the PublicVirtualInterface port. E.g.
154 [{'ip_address':'1.2.3.4'}]
156 PublicVirtualNetwork:
160 Neutron network to allocate public virtual IP port on.
164 description: Salt for the rabbit cookie, change this to force the randomly generated rabbit cookie to change.
167 description: The username for RabbitMQ
171 description: The password for RabbitMQ
177 Rabbit client subscriber parameter to specify
178 an SSL connection to the RabbitMQ host.
182 description: Set rabbit subscriber port, change this if using SSL
184 SnmpdReadonlyUserName:
185 default: ro_snmp_user
186 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
188 SnmpdReadonlyUserPassword:
190 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
195 # Controller-specific params
198 description: The keystone auth secret.
201 CinderLVMLoopDeviceSize:
203 description: The size of the loopback file used by the cinder LVM driver.
207 description: The password for the cinder service account, used by cinder-api.
212 description: The iSCSI helper to use with cinder.
217 controllerExtraConfig:
220 Controller specific configuration to inject into the cluster. Same
221 structure as ExtraConfig.
225 default: overcloud-control
227 - custom_constraint: glance.image
228 OvercloudControlFlavor:
229 description: Flavor for control nodes to request when deploying.
232 - custom_constraint: nova.flavor
233 ControlVirtualInterface:
235 description: Interface where virtual ip will be assigned.
240 Additional configuration to inject into the cluster. The JSON should have
241 the following structure:
244 [{"section": "SECTIONNAME",
246 [{"option": "OPTIONNAME",
257 [{"section": "default",
259 [{"option": "force_config_drive",
266 [{"option": "driver",
267 "value": "nova.cells.rpc_driver.CellsRPCDriver"
276 description: The filepath of the file to use for logging messages from Glance.
279 GlanceNotifierStrategy:
280 description: Strategy to use for Glance notification queue
285 description: The password for the glance service account, used by the glance services.
290 description: The password for the Heat service account, used by the Heat services.
293 HeatStackDomainAdminPassword:
294 description: Password for heat_domain_admin user.
298 KeystoneCACertificate:
300 description: Keystone self-signed certificate authority certificate.
302 KeystoneSigningCertificate:
304 description: Keystone certificate for verifying token validity.
308 description: Keystone key for signing tokens.
311 KeystoneSSLCertificate:
313 description: Keystone certificate for verifying token validity.
315 KeystoneSSLCertificateKey:
317 description: Keystone key for signing tokens.
320 MysqlInnodbBufferPoolSize:
322 Specifies the size of the buffer pool in megabytes. Setting to
323 zero should be interpreted as "no value" and will defer to the
327 NeutronDnsmasqOptions:
328 default: 'dhcp-option-force=26,1400'
329 description: Dnsmasq options for neutron-dhcp-agent. The default value here forces MTU to be set to 1400 to account for the tunnel overhead.
331 NeutronPublicInterfaceDefaultRoute:
333 description: A custom default route for the NeutronPublicInterface.
335 NeutronPublicInterfaceIP:
337 description: A custom IP address to put onto the NeutronPublicInterface.
339 NeutronPublicInterfaceRawDevice:
341 description: If set, the public interface is a vlan with this device as the raw device.
343 PublicVirtualInterface:
346 Specifies the interface where the public-facing virtual ip will be assigned.
347 This should be int_public when a VLAN is being used.
351 description: If set, the contents of an SSL certificate .crt file for encrypting SSL endpoints.
356 description: If set, the contents of an SSL certificate .key file for encrypting SSL endpoints.
361 description: If set, the contents of an SSL certificate authority file.
365 description: A random string to be used as a salt when hashing to determine mappings in the ring.
370 description: The password for the swift service account, used by the swift proxy services.
375 description: Partition Power to use when building Swift rings
380 description: How many replicas to use in the swift rings.
382 # Compute-specific params
383 CeilometerComputeAgent:
384 description: Indicates whether the Compute agent is present and expects nova-compute to be configured accordingly
388 - allowed_values: ['', Present]
392 HypervisorNeutronPhysicalBridge:
395 An OVS bridge to create on each hypervisor. This defaults to br-ex the
396 same as the control plane nodes, as we have a uniform configuration of
397 the openvswitch agent. Typically should not need to be changed.
399 HypervisorNeutronPublicInterface:
401 description: What interface to add to the HypervisorNeutronPhysicalBridge.
403 NeutronNetworkVLANRanges:
404 default: 'datacentre'
406 The Neutron ML2 and OpenVSwitch vlan mapping range to support. See the
407 Neutron documentation for permitted values. Defaults to permitting any
408 VLAN on the 'datacentre' physical network (See NeutronBridgeMappings).
412 default: libvirt.LibvirtDriver
413 NovaComputeExtraConfig:
416 NovaCompute specific configuration to inject into the cluster. Same
417 structure as ExtraConfig.
419 NovaComputeLibvirtType:
424 default: overcloud-compute
426 - custom_constraint: glance.image
427 OvercloudComputeFlavor:
428 description: Use this flavor
431 - custom_constraint: nova.flavor
433 # Block storage specific parameters
438 default: overcloud-cinder-volume
440 OvercloudBlockStorageFlavor:
441 description: Flavor for block storage nodes to request when deploying.
444 - custom_constraint: nova.flavor
446 # Object storage specific parameters
450 OvercloudSwiftStorageFlavor:
451 description: Flavor for Swift storage nodes to request when deploying.
454 - custom_constraint: nova.flavor
456 default: overcloud-swift-storage
462 type: OS::Heat::ResourceGroup
464 count: {get_param: ControllerCount}
466 type: OS::TripleO::Controller
468 AdminPassword: {get_param: AdminPassword}
469 AdminToken: {get_param: AdminToken}
470 CeilometerMeteringSecret: {get_param: CeilometerMeteringSecret}
471 CeilometerPassword: {get_param: CeilometerPassword}
472 CinderLVMLoopDeviceSize: {get_param: CinderLVMLoopDeviceSize}
473 CinderPassword: {get_param: CinderPassword}
474 CinderISCSIHelper: {get_param: CinderISCSIHelper}
475 CloudName: {get_param: CloudName}
476 ControlVirtualInterface: {get_param: ControlVirtualInterface}
477 ControllerExtraConfig: {get_param: controllerExtraConfig}
478 ExtraConfig: {get_param: ExtraConfig}
479 Flavor: {get_param: OvercloudControlFlavor}
480 GlancePort: {get_param: GlancePort}
481 GlanceProtocol: {get_param: GlanceProtocol}
482 GlancePassword: {get_param: GlancePassword}
483 GlanceNotifierStrategy: {get_param: GlanceNotifierStrategy}
484 GlanceLogFile: {get_param: GlanceLogFile}
485 HeatPassword: {get_param: HeatPassword}
486 HeatStackDomainAdminPassword: {get_param: HeatStackDomainAdminPassword}
487 Image: {get_param: controllerImage}
488 ImageUpdatePolicy: {get_param: ImageUpdatePolicy}
489 KeyName: {get_param: KeyName}
490 KeystoneCACertificate: {get_param: KeystoneCACertificate}
491 KeystoneSigningCertificate: {get_param: KeystoneSigningCertificate}
492 KeystoneSigningKey: {get_param: KeystoneSigningKey}
493 KeystoneSSLCertificate: {get_param: KeystoneSSLCertificate}
494 KeystoneSSLCertificateKey: {get_param: KeystoneSSLCertificateKey}
495 MysqlClusterUniquePart: {get_attr: [MysqlClusterUniquePart, value]}
496 MysqlInnodbBufferPoolSize: {get_param: MysqlInnodbBufferPoolSize}
497 MysqlRootPassword: {get_attr: [MysqlRootPassword, value]}
498 NeutronPublicInterfaceIP: {get_param: NeutronPublicInterfaceIP}
499 NeutronFlatNetworks: {get_param: NeutronFlatNetworks}
500 NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
501 NeutronNetworkVLANRanges: {get_param: NeutronNetworkVLANRanges}
502 NeutronPublicInterface: {get_param: NeutronPublicInterface}
503 NeutronPublicInterfaceDefaultRoute: {get_param: NeutronPublicInterfaceDefaultRoute}
504 NeutronPublicInterfaceRawDevice: {get_param: NeutronPublicInterfaceRawDevice}
505 NeutronPassword: {get_param: NeutronPassword}
506 NeutronDnsmasqOptions: {get_param: NeutronDnsmasqOptions}
507 NeutronDVR: {get_param: NeutronDVR}
508 NeutronMetadataProxySharedSecret: {get_param: NeutronMetadataProxySharedSecret}
509 NeutronAgentMode: {get_param: NeutronAgentMode}
510 NeutronMechanismDrivers: {get_param: NeutronMechanismDrivers}
511 NeutronAllowL3AgentFailover: {get_param: NeutronAllowL3AgentFailover}
512 NovaPassword: {get_param: NovaPassword}
513 NtpServer: {get_param: NtpServer}
514 PublicVirtualInterface: {get_param: PublicVirtualInterface}
515 RabbitUserName: {get_param: RabbitUserName}
516 RabbitPassword: {get_param: RabbitPassword}
517 RabbitCookie: {get_attr: [RabbitCookie, value]}
518 RabbitClientUseSSL: {get_param: RabbitClientUseSSL}
519 RabbitClientPort: {get_param: RabbitClientPort}
520 SnmpdReadonlyUserName: {get_param: SnmpdReadonlyUserName}
521 SnmpdReadonlyUserPassword: {get_param: SnmpdReadonlyUserPassword}
522 SSLCertificate: {get_param: SSLCertificate}
523 SSLKey: {get_param: SSLKey}
524 SSLCACertificate: {get_param: SSLCACertificate}
525 SwiftHashSuffix: {get_param: SwiftHashSuffix}
526 SwiftPartPower: {get_param: SwiftPartPower}
527 SwiftPassword: {get_param: SwiftPassword}
528 SwiftReplicas: { get_param: SwiftReplicas}
529 VirtualIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
530 PublicVirtualIP: {get_attr: [PublicVirtualIP, fixed_ips, 0, ip_address]}
533 type: OS::Heat::ResourceGroup
535 count: {get_param: ComputeCount}
537 type: OS::TripleO::Compute
539 AdminPassword: {get_param: AdminPassword}
540 CeilometerComputeAgent: {get_param: CeilometerComputeAgent}
541 CeilometerMeteringSecret: {get_param: CeilometerMeteringSecret}
542 CeilometerPassword: {get_param: CeilometerPassword}
543 ExtraConfig: {get_param: ExtraConfig}
544 Flavor: {get_param: OvercloudComputeFlavor}
545 GlanceHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
546 GlancePort: {get_param: GlancePort}
547 GlanceProtocol: {get_param: GlanceProtocol}
548 Image: {get_param: NovaImage}
549 ImageUpdatePolicy: {get_param: ImageUpdatePolicy}
550 KeyName: {get_param: KeyName}
551 KeystoneHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
552 NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
553 NeutronEnableTunnelling: {get_param: NeutronEnableTunnelling}
554 NeutronFlatNetworks: {get_param: NeutronFlatNetworks}
555 NeutronHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
556 NeutronNetworkType: {get_param: NeutronNetworkType}
557 NeutronTunnelTypes: {get_param: NeutronTunnelTypes}
558 NeutronNetworkVLANRanges: {get_param: NeutronNetworkVLANRanges}
559 NeutronPassword: {get_param: NeutronPassword}
560 NeutronPhysicalBridge: {get_param: HypervisorNeutronPhysicalBridge}
561 NeutronPublicInterface: {get_param: HypervisorNeutronPublicInterface}
562 NeutronDVR: {get_param: NeutronDVR}
563 NeutronMetadataProxySharedSecret: {get_param: NeutronMetadataProxySharedSecret}
564 NeutronAgentMode: {get_param: NeutronComputeAgentMode}
565 NeutronPublicInterfaceRawDevice: {get_param: NeutronPublicInterfaceRawDevice}
566 NeutronMechanismDrivers: {get_param: NeutronMechanismDrivers}
567 NeutronAllowL3AgentFailover: {get_param: NeutronAllowL3AgentFailover}
568 NovaApiHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
569 NovaComputeDriver: {get_param: NovaComputeDriver}
570 NovaComputeExtraConfig: {get_param: NovaComputeExtraConfig}
571 NovaComputeLibvirtType: {get_param: NovaComputeLibvirtType}
572 NovaPublicIP: {get_attr: [PublicVirtualIP, fixed_ips, 0, ip_address]}
573 NovaPassword: {get_param: NovaPassword}
574 NtpServer: {get_param: NtpServer}
575 RabbitHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
576 RabbitPassword: {get_param: RabbitPassword}
577 RabbitUserName: {get_param: RabbitUserName}
578 SnmpdReadonlyUserName: {get_param: SnmpdReadonlyUserName}
579 SnmpdReadonlyUserPassword: {get_param: SnmpdReadonlyUserPassword}
583 - - mysql://ceilometer:unset@
584 - &compute_database_host {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
588 type: OS::Heat::ResourceGroup
590 count: {get_param: BlockStorageCount}
592 type: OS::TripleO::BlockStorage
594 AdminPassword: {get_param: AdminPassword}
595 Image: {get_param: BlockStorageImage}
596 CinderISCSIHelper: {get_param: CinderISCSIHelper}
597 CinderLVMLoopDeviceSize: {get_param: CinderLVMLoopDeviceSize}
598 CinderPassword: {get_param: CinderPassword}
599 VirtualIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
600 KeyName: {get_param: KeyName}
601 Flavor: {get_param: OvercloudBlockStorageFlavor}
602 RabbitPassword: {get_param: RabbitPassword}
603 RabbitUserName: {get_param: RabbitUserName}
606 type: OS::Heat::ResourceGroup
608 count: {get_param: ObjectStorageCount}
610 type: OS::TripleO::ObjectStorage
612 ControllerIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
613 KeyName: {get_param: KeyName}
614 NeutronEnableTunnelling: {get_param: NeutronEnableTunnelling}
615 NeutronNetworkType: {get_param: NeutronNetworkType}
616 Flavor: {get_param: OvercloudSwiftStorageFlavor}
617 HashSuffix: {get_param: SwiftHashSuffix}
618 PartPower: {get_param: SwiftPartPower}
619 Password: {get_param: SwiftPassword}
620 Image: {get_param: SwiftStorageImage}
621 Replicas: { get_param: SwiftReplicas}
625 type: OS::Heat::StructuredConfig
628 completion-signal: {get_input: deploy_signal_id}
634 - {get_attr: [Compute, hosts_entry]}
637 - {get_attr: [Controller, hosts_entry]}
640 - {get_attr: [BlockStorage, hosts_entry]}
643 - {get_attr: [ObjectStorage, hosts_entry]}
648 - {get_attr: [Controller, hostname]}
650 net.ipv4.tcp_keepalive_time: 5
651 net.ipv4.tcp_keepalive_probes: 5
652 net.ipv4.tcp_keepalive_intvl: 1
655 type: OS::Heat::RandomString
659 MysqlClusterUniquePart:
660 type: OS::Heat::RandomString
665 type: OS::Heat::RandomString
668 salt: {get_param: RabbitCookieSalt}
671 type: OS::Neutron::Port
673 name: control_virtual_ip
674 network_id: {get_param: NeutronControlPlaneID}
675 fixed_ips: {get_param: ControlFixedIPs}
676 replacement_policy: AUTO
679 type: OS::Neutron::Port
681 name: public_virtual_ip
682 network: {get_param: PublicVirtualNetwork}
683 fixed_ips: {get_param: PublicVirtualFixedIPs}
684 replacement_policy: AUTO
686 ControllerBootstrapNodeConfig:
687 type: OS::Heat::StructuredConfig
689 group: os-apply-config
692 bootstrap_nodeid: {get_attr: [Controller, resource.0.hostname]}
694 ControllerBootstrapNodeDeployment:
695 type: OS::Heat::StructuredDeployments
697 config: {get_resource: ControllerBootstrapNodeConfig}
698 servers: {get_attr: [Controller, attributes, nova_server_resource]}
699 signal_transport: NO_SIGNAL
701 ControllerSwiftDeployment:
702 type: OS::Heat::StructuredDeployments
704 config: {get_resource: SwiftDevicesAndProxyConfig}
705 servers: {get_attr: [Controller, attributes, nova_server_resource]}
706 signal_transport: NO_SIGNAL
708 ObjectStorageSwiftDeployment:
709 type: OS::Heat::StructuredDeployments
711 config: {get_resource: SwiftDevicesAndProxyConfig}
712 servers: {get_attr: [ObjectStorage, attributes, nova_server_resource]}
713 signal_transport: NO_SIGNAL
715 SwiftDevicesAndProxyConfig:
716 type: OS::Heat::StructuredConfig
718 group: os-apply-config
726 - {get_attr: [Controller, swift_device]}
729 - {get_attr: [ObjectStorage, swift_device]}
733 - {get_attr: [Controller, swift_proxy_memcache]}
735 ControllerClusterConfig:
736 type: OS::Heat::StructuredConfig
740 nodes: {get_attr: [Controller, corosync_node]}
744 nodes: {get_attr: [Controller, hostname]}
746 nodes: {get_attr: [Controller, corosync_node]}
748 nodes: {get_attr: [Controller, corosync_node]}
750 ControllerClusterDeployment:
751 type: OS::Heat::StructuredDeployments
753 config: {get_resource: ControllerClusterConfig}
754 servers: {get_attr: [Controller, attributes, nova_server_resource]}
755 signal_transport: NO_SIGNAL
757 ControllerAllNodesDeployment:
758 type: OS::Heat::StructuredDeployments
760 config: {get_resource: allNodesConfig}
761 servers: {get_attr: [Controller, attributes, nova_server_resource]}
763 ComputeAllNodesDeployment:
764 type: OS::Heat::StructuredDeployments
766 config: {get_resource: allNodesConfig}
767 servers: {get_attr: [Compute, attributes, nova_server_resource]}
772 description: URL for the Overcloud Keystone service
777 - {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}