Bump further the stop/start timeout for pcmk/systemd services
[apex-tripleo-heat-templates.git] / deprecated / overcloud-source.yaml
1 description: Deprecated. Please migrate to use overcloud-without-mergepy instead.
2 heat_template_version: 2013-05-23
3 parameters:
4   AdminPassword:
5     default: unset
6     description: The password for the keystone admin account, used for monitoring, querying neutron etc.
7     type: string
8     hidden: true
9   AdminToken:
10     default: unset
11     description: The keystone auth secret.
12     type: string
13     hidden: true
14   CeilometerComputeAgent:
15     description: Indicates whether the Compute agent is present and expects nova-compute to be configured accordingly
16     type: string
17     default: ''
18     constraints:
19     - allowed_values: ['', Present]
20   CeilometerMeteringSecret:
21     default: unset
22     description: Secret shared by the ceilometer services.
23     type: string
24     hidden: true
25   CeilometerPassword:
26     default: unset
27     description: The password for the ceilometer service account.
28     type: string
29     hidden: true
30   CinderISCSIHelper:
31     default: tgtadm
32     description: The iSCSI helper to use with cinder.
33     type: string
34   CinderLVMLoopDeviceSize:
35     default: 5000
36     description: The size of the loopback file used by the cinder LVM driver.
37     type: number
38   CinderPassword:
39     default: unset
40     description: The password for the cinder service account, used by cinder-api.
41     type: string
42     hidden: true
43   CloudName:
44     default: ''
45     description: The DNS name of this cloud. E.g. ci-overcloud.tripleo.org
46     type: string
47   ControlFixedIPs:
48     default: []
49     description: Should be used for arbitrary ips.
50     type: json
51   controllerExtraConfig:
52     default: {}
53     description: |
54       Controller specific configuration to inject into the cluster. Same
55       structure as ExtraConfig.
56     type: json
57   controllerImage:
58     type: string
59     default: overcloud-control
60     constraints:
61       - custom_constraint: glance.image
62   ControlVirtualInterface:
63     default: 'br-ex'
64     description: Interface where virtual ip will be assigned.
65     type: string
66   Debug:
67     default: ''
68     description: Set to True to enable debugging on all services.
69     type: string
70   DefaultSignalTransport:
71     default: CFN_SIGNAL
72     description: Transport to use for software-config signals.
73     type: string
74     constraints:
75       - allowed_values: [ CFN_SIGNAL, HEAT_SIGNAL, NO_SIGNAL ]
76   ExtraConfig:
77     default: {}
78     description: |
79       Additional configuration to inject into the cluster. The JSON should have
80       the following structure:
81         {"FILEKEY":
82           {"config":
83             [{"section": "SECTIONNAME",
84               "values":
85                 [{"option": "OPTIONNAME",
86                   "value": "VALUENAME"
87                  }
88                 ]
89              }
90             ]
91           }
92         }
93       For instance:
94         {"nova":
95           {"config":
96             [{"section": "default",
97               "values":
98                 [{"option": "force_config_drive",
99                   "value": "always"
100                  }
101                 ]
102              },
103              {"section": "cells",
104               "values":
105                 [{"option": "driver",
106                   "value": "nova.cells.rpc_driver.CellsRPCDriver"
107                  }
108                 ]
109              }
110             ]
111           }
112         }
113     type: json
114   GlanceLogFile:
115     description: The filepath of the file to use for logging messages from Glance.
116     type: string
117     default: ''
118   HorizonPort:
119     type: number
120     default: 80
121     description: Horizon web server port.
122   GlancePassword:
123     default: unset
124     description: The password for the glance service account, used by the glance services.
125     type: string
126     hidden: true
127   GlancePort:
128     default: 9292
129     description: Glance port.
130     type: string
131   GlanceProtocol:
132     default: http
133     description: Protocol to use when connecting to glance, set to https for SSL.
134     type: string
135   GlanceNotifierStrategy:
136     description: Strategy to use for Glance notification queue
137     type: string
138     default: noop
139   HeatPassword:
140     default: unset
141     description: The password for the Heat service account, used by the Heat services.
142     type: string
143     hidden: true
144   HeatStackDomainAdminPassword:
145     description: Password for heat_domain_admin user.
146     type: string
147     default: ''
148     hidden: true
149   HypervisorNeutronPhysicalBridge:
150     default: 'br-ex'
151     description: >
152       An OVS bridge to create on each hypervisor. This defaults to br-ex the
153       same as the control plane nodes, as we have a uniform configuration of
154       the openvswitch agent. Typically should not need to be changed.
155     type: string
156   HypervisorNeutronPublicInterface:
157     default: nic1
158     description: What interface to add to the HypervisorNeutronPhysicalBridge.
159     type: string
160   ImageUpdatePolicy:
161     default: 'REBUILD_PRESERVE_EPHEMERAL'
162     description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
163     type: string
164   KeyName:
165     default: default
166     description: Name of an existing EC2 KeyPair to enable SSH access to the instances
167     type: string
168     constraints:
169       - custom_constraint: nova.keypair
170   KeystoneCACertificate:
171     default: ''
172     description: Keystone self-signed certificate authority certificate.
173     type: string
174   KeystoneSigningCertificate:
175     default: ''
176     description: Keystone certificate for verifying token validity.
177     type: string
178   KeystoneSigningKey:
179     default: ''
180     description: Keystone key for signing tokens.
181     type: string
182     hidden: true
183   KeystoneSSLCertificate:
184     default: ''
185     description: Keystone certificate for verifying token validity.
186     type: string
187   KeystoneSSLCertificateKey:
188     default: ''
189     description: Keystone key for signing tokens.
190     type: string
191     hidden: true
192   MysqlInnodbBufferPoolSize:
193     description: >
194         Specifies the size of the buffer pool in megabytes. Setting to
195         zero should be interpreted as "no value" and will defer to the
196         lower level default.
197     type: number
198     default: 0
199   NeutronBridgeMappings:
200     description: >
201       The OVS logical->physical bridge mappings to use. See the Neutron
202       documentation for details. Defaults to mapping br-ex - the external
203       bridge on hosts - to a physical name 'datacentre' which can be used
204       to create provider networks (and we use this for the default floating
205       network) - if changing this either use different post-install network
206       scripts or be sure to keep 'datacentre' as a mapping network name.
207     type: string
208     default: "datacentre:br-ex"
209   NeutronControlPlaneID:
210     default: ''
211     type: string
212     description: Neutron ID for ctlplane network.
213   NeutronDnsmasqOptions:
214     default: 'dhcp-option-force=26,1400'
215     description: Dnsmasq options for neutron-dhcp-agent. The default value here forces MTU to be set to 1400 to account for the tunnel overhead.
216     type: string
217   NeutronFlatNetworks:
218     type: string
219     default: 'datacentre'
220     description: >
221       If set, flat networks to configure in neutron plugins. Defaults to
222       'datacentre' to permit external network creation.
223   NeutronNetworkType:
224     default: 'vxlan'
225     description: The tenant network type for Neutron, either gre or vxlan.
226     type: string
227   NeutronNetworkVLANRanges:
228     default: 'datacentre'
229     description: >
230       The Neutron ML2 and OpenVSwitch vlan mapping range to support. See the
231       Neutron documentation for permitted values. Defaults to permitting any
232       VLAN on the 'datacentre' physical network (See NeutronBridgeMappings).
233     type: string
234   NeutronPassword:
235     default: unset
236     description: The password for the neutron service account, used by neutron agents.
237     type: string
238     hidden: true
239   NeutronPublicInterface:
240     default: nic1
241     description: What interface to bridge onto br-ex for network nodes.
242     type: string
243   NeutronPublicInterfaceDefaultRoute:
244     default: ''
245     description: A custom default route for the NeutronPublicInterface.
246     type: string
247   NeutronPublicInterfaceIP:
248     default: ''
249     description: A custom IP address to put onto the NeutronPublicInterface.
250     type: string
251   NeutronPublicInterfaceRawDevice:
252     default: ''
253     description: If set, the public interface is a vlan with this device as the raw device.
254     type: string
255   NeutronPublicInterfaceTag:
256     default: ''
257     description: >
258       VLAN tag for creating a public VLAN. The tag will be used to
259       create an access port on the exterior bridge for each control plane node,
260       and that port will be given the IP address returned by neutron from the
261       public network. Set CONTROLEXTRA=overcloud-vlan-port.yaml when compiling
262       overcloud.yaml to include the deployment of VLAN ports to the control
263       plane.
264     type: string
265   NeutronComputeAgentMode:
266     default: 'dvr'
267     description: Agent mode for the neutron-l3-agent on the compute hosts
268     type: string
269   NeutronAgentMode:
270     default: 'dvr_snat'
271     description: Agent mode for the neutron-l3-agent on the controller hosts
272     type: string
273   NeutronDVR:
274     default: 'False'
275     description: Whether to configure Neutron Distributed Virtual Routers
276     type: string
277   NeutronMetadataProxySharedSecret:
278     default: 'unset'
279     description: Shared secret to prevent spoofing
280     type: string
281   NeutronTunnelTypes:
282     default: 'vxlan'
283     description: |
284         The tunnel types for the Neutron tenant network. To specify multiple
285         values, use a comma separated string, like so: 'gre,vxlan'
286     type: string
287   NeutronMechanismDrivers:
288     default: 'openvswitch'
289     description: |
290         The mechanism drivers for the Neutron tenant network. To specify multiple
291         values, use a comma separated string, like so: 'openvswitch,l2_population'
292     type: string
293   NeutronAllowL3AgentFailover:
294     default: 'True'
295     description: Allow automatic l3-agent failover
296     type: string
297   NeutronL3HA:
298     default: 'False'
299     description: Whether to enable l3-agent HA
300     type: string
301   NovaComputeDriver:
302     default: libvirt.LibvirtDriver
303     type: string
304   NovaComputeExtraConfig:
305     default: {}
306     description: |
307       NovaCompute specific configuration to inject into the cluster. Same
308       structure as ExtraConfig.
309     type: json
310   NovaComputeLibvirtType:
311     default: ''
312     type: string
313   NovaImage:
314     type: string
315     default: overcloud-compute
316     constraints:
317       - custom_constraint: glance.image
318   NovaPassword:
319     default: unset
320     description: The password for the nova service account, used by nova-api.
321     type: string
322     hidden: true
323   NtpServer:
324     type: string
325     default: ''
326   OvercloudComputeFlavor:
327     description: Flavor for compute nodes to request when deploying.
328     type: string
329     constraints:
330       - custom_constraint: nova.flavor
331   OvercloudControlFlavor:
332     description: Flavor for control nodes to request when deploying.
333     type: string
334     constraints:
335       - custom_constraint: nova.flavor
336   PublicVirtualFixedIPs:
337     default: []
338     description: >
339         Control the IP allocation for the PublicVirtualInterface port. E.g.
340         [{'ip_address':'1.2.3.4'}]
341     type: json
342   PublicVirtualInterface:
343     default: 'br-ex'
344     description: >
345         Specifies the interface where the public-facing virtual ip will be assigned.
346         This should be int_public when a VLAN is being used.
347     type: string
348   PublicVirtualNetwork:
349     default: 'ctlplane'
350     type: string
351     description: >
352         Neutron network to allocate public virtual IP port on.
353   RabbitCookieSalt:
354     type: string
355     default: unset
356     description: Salt for the rabbit cookie, change this to force the randomly generated rabbit cookie to change.
357   RabbitPassword:
358     default: guest
359     description: The password for RabbitMQ
360     type: string
361     hidden: true
362   RabbitUserName:
363     default: guest
364     description: The username for RabbitMQ
365     type: string
366   RabbitClientUseSSL:
367     default: false
368     description: >
369         Rabbit client subscriber parameter to specify
370         an SSL connection to the RabbitMQ host.
371     type: string
372   RabbitClientPort:
373     default: 5672
374     description: Set rabbit subscriber port, change this if using SSL
375     type: number
376   SnmpdReadonlyUserName:
377     default: ro_snmp_user
378     description: The user name for SNMPd with readonly rights running on all Overcloud nodes
379     type: string
380   SnmpdReadonlyUserPassword:
381     default: unset
382     description: The user password for SNMPd with readonly rights running on all Overcloud nodes
383     type: string
384     hidden: true
385 resources:
386   ControlVirtualIP:
387     type: OS::Neutron::Port
388     properties:
389       name: control_virtual_ip
390       network_id: {get_param: NeutronControlPlaneID}
391       fixed_ips:
392         get_param: ControlFixedIPs
393       replacement_policy: AUTO
394   MysqlClusterUniquePart:
395     type: OS::Heat::RandomString
396     properties:
397       length: 10
398   MysqlRootPassword:
399     type: OS::Heat::RandomString
400     properties:
401       length: 10
402   PublicVirtualIP:
403     type: OS::Neutron::Port
404     properties:
405       name: public_virtual_ip
406       network: {get_param: PublicVirtualNetwork}
407       fixed_ips:
408         get_param: PublicVirtualFixedIPs
409       replacement_policy: AUTO
410   RabbitCookie:
411     type: OS::Heat::RandomString
412     properties:
413       length: 20
414       salt:
415         get_param: RabbitCookieSalt
416   NovaCompute0Deployment:
417     type: FileInclude
418     Path: deprecated/nova-compute-instance.yaml
419     SubKey: resources.NovaCompute0Deployment
420     parameters:
421         DefaultSignalTransport:
422             get_param: DefaultSignalTransport
423         NovaApiHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
424         KeystoneHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
425         NeutronHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
426         GlanceHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
427         RabbitHost: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
428         NovaPublicIP: {get_attr: [PublicVirtualIP, fixed_ips, 0, ip_address]}
429         NeutronNetworkType:
430             get_param: NeutronNetworkType
431         NeutronTunnelTypes:
432             get_param: NeutronTunnelTypes
433         NeutronEnableTunnelling: "True"
434         NeutronFlatNetworks:
435             get_param: NeutronFlatNetworks
436         NeutronNetworkVLANRanges:
437             get_param: NeutronNetworkVLANRanges
438         NeutronPhysicalBridge:
439             get_param: HypervisorNeutronPhysicalBridge
440         NeutronPublicInterface:
441             get_param: HypervisorNeutronPublicInterface
442         NeutronBridgeMappings:
443             get_param: NeutronBridgeMappings
444         NeutronDVR:
445             get_param: NeutronDVR
446         NeutronAgentMode:
447             get_param: NeutronComputeAgentMode
448         NeutronPublicInterfaceRawDevice:
449             get_param: NeutronPublicInterfaceRawDevice
450         NeutronMechanismDrivers:
451             get_param: NeutronMechanismDrivers
452         NeutronAllowL3AgentFailover:
453             get_param: NeutronAllowL3AgentFailover
454         NeutronL3HA:
455             get_param: NeutronL3HA
456   NovaCompute0AllNodesDeployment:
457     type: FileInclude
458     Path: deprecated/nova-compute-instance.yaml
459     SubKey: resources.NovaCompute0AllNodesDeployment
460     parameters:
461         AllNodesConfig: {get_resource: allNodesConfig}
462   NovaCompute0:
463     type: FileInclude
464     Path: deprecated/nova-compute-instance.yaml
465     SubKey: resources.NovaCompute0
466   NovaCompute0Passthrough:
467     type: FileInclude
468     Path: deprecated/nova-compute-instance.yaml
469     SubKey: resources.NovaCompute0Passthrough
470     parameters:
471         passthrough_config: {get_param: ExtraConfig}
472   NovaCompute0PassthroughSpecific:
473     type: FileInclude
474     Path: deprecated/nova-compute-instance.yaml
475     SubKey: resources.NovaCompute0PassthroughSpecific
476     parameters:
477         passthrough_config_specific: {get_param: NovaComputeExtraConfig}
478   HeatAuthEncryptionKey:
479     type: OS::Heat::RandomString
480   controllerConfig:
481     type: OS::Heat::StructuredConfig
482     properties:
483       group: os-apply-config
484       config:
485         admin-password:
486           get_param: AdminPassword
487         admin-token:
488           get_param: AdminToken
489         bootstack:
490           public_interface_ip:
491             get_param: NeutronPublicInterfaceIP
492         bootstrap_host:
493           bootstrap_nodeid:
494             Fn::Select:
495             - 0
496             - Fn::Select:
497               - 0
498               - Merge::Map:
499                   controller0:
500                   - get_attr:
501                     - controller0
502                     - name
503           nodeid: {get_input: bootstack_nodeid}
504         database:
505           host: &database_host
506             {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
507         cinder:
508           db:
509             Fn::Join:
510               - ''
511               - - mysql://cinder:unset@
512                 - *database_host
513                 - /cinder
514           debug: {get_param: Debug}
515           volume_size_mb:
516             get_param: CinderLVMLoopDeviceSize
517           service-password:
518             get_param: CinderPassword
519           iscsi-helper:
520             get_param: CinderISCSIHelper
521         controller-address:
522           get_input: controller_host
523         corosync:
524           bindnetaddr: {get_input: controller_host}
525           mcastport: 5577
526           nodes:
527             Merge::Map:
528               controller0:
529                 ip: {get_attr: [controller0, networks, ctlplane, 0]}
530         pacemaker:
531           stonith_enabled : false
532           recheck_interval : 5
533           quorum_policy : ignore
534         db-password: unset
535         glance:
536           registry:
537             host: {get_input: controller_virtual_ip}
538           backend: swift
539           db:
540             Fn::Join:
541               - ''
542               - - mysql://glance:unset@
543                 - *database_host
544                 - /glance
545           debug: {get_param: Debug}
546           host:
547             get_input: controller_virtual_ip
548           port:
549             get_param: GlancePort
550           protocol:
551             get_param: GlanceProtocol
552           service-password:
553             get_param: GlancePassword
554           swift-store-user: service:glance
555           swift-store-key:
556             get_param: GlancePassword
557           notifier-strategy:
558             get_param: GlanceNotifierStrategy
559           log-file:
560             get_param: GlanceLogFile
561         heat:
562           admin_password:
563             get_param: HeatPassword
564           admin_tenant_name: service
565           admin_user: heat
566           auth_encryption_key:
567             get_resource: HeatAuthEncryptionKey
568           db:
569             Fn::Join:
570               - ''
571               - - mysql://heat:unset@
572                 - *database_host
573                 - /heat
574           debug: {get_param: Debug}
575           stack_domain_admin_password: {get_param: HeatStackDomainAdminPassword}
576           watch_server_url: {get_input: heat.watch_server_url}
577           metadata_server_url: {get_input: heat.metadata_server_url}
578           waitcondition_server_url: {get_input: heat.waitcondition_server_url}
579         horizon:
580           port: {get_param: HorizonPort}
581           caches:
582             memcached:
583               nodes:
584                 Merge::Map:
585                   controller0:
586                     {get_attr: [controller0, name]}
587         keystone:
588           db:
589             Fn::Join:
590               - ''
591               - - mysql://keystone:unset@
592                 - *database_host
593                 - /keystone
594           debug: {get_param: Debug}
595           host:
596             get_input: controller_virtual_ip
597           ca_certificate: {get_param: KeystoneCACertificate}
598           signing_key: {get_param: KeystoneSigningKey}
599           signing_certificate: {get_param: KeystoneSigningCertificate}
600           ssl:
601               certificate: {get_param: KeystoneSSLCertificate}
602               certificate_key: {get_param: KeystoneSSLCertificateKey}
603         mysql:
604           innodb_buffer_pool_size: {get_param: MysqlInnodbBufferPoolSize}
605           local_bind: true
606           root-password: {get_resource: MysqlRootPassword}
607           nodes:
608             Merge::Map:
609               controller0:
610                 ip: {get_attr: [controller0, networks, ctlplane, 0]}
611           cluster_name:
612             Fn::Join:
613               - '-'
614               - - 'tripleo'
615                 - {get_resource: MysqlClusterUniquePart}
616         neutron:
617           debug: {get_param: Debug}
618           flat-networks: {get_param: NeutronFlatNetworks}
619           host: {get_input: controller_virtual_ip}
620           metadata_proxy_shared_secret: {get_param: NeutronMetadataProxySharedSecret}
621           agent_mode: {get_param: NeutronAgentMode}
622           router_distributed: {get_param: NeutronDVR}
623           mechanism_drivers: {get_param: NeutronMechanismDrivers}
624           allow_automatic_l3agent_failover: {get_param: NeutronAllowL3AgentFailover}
625           l3_ha: {get_param: NeutronL3HA}
626           ovs:
627             enable_tunneling: 'True'
628             local_ip:
629               get_input: controller_host
630             network_vlan_ranges: {get_param: NeutronNetworkVLANRanges}
631             bridge_mappings: {get_param: NeutronBridgeMappings}
632             public_interface:
633               get_param: NeutronPublicInterface
634             public_interface_raw_device:
635               get_param: NeutronPublicInterfaceRawDevice
636             public_interface_route:
637               get_param: NeutronPublicInterfaceDefaultRoute
638             public_interface_tag:
639               get_param: NeutronPublicInterfaceTag
640             physical_bridge: br-ex
641             tenant_network_type:
642               get_param: NeutronNetworkType
643             tunnel_types:
644               get_param: NeutronTunnelTypes
645           ovs_db:
646             Fn::Join:
647               - ''
648               - - mysql://neutron:unset@
649                 - *database_host
650                 - /ovs_neutron?charset=utf8
651           service-password:
652             get_param: NeutronPassword
653           dnsmasq-options:
654             get_param: NeutronDnsmasqOptions
655         ceilometer:
656           db:
657             Fn::Join:
658               - ''
659               - - mysql://ceilometer:unset@
660                 - *database_host
661                 - /ceilometer
662           debug: {get_param: Debug}
663           metering_secret: {get_param: CeilometerMeteringSecret}
664           service-password:
665             get_param: CeilometerPassword
666         snmpd:
667           export_MIB: UCD-SNMP-MIB
668           readonly_user_name:
669             get_param: SnmpdReadonlyUserName
670           readonly_user_password:
671             get_param: SnmpdReadonlyUserPassword
672         nova:
673           compute_driver: libvirt.LibvirtDriver
674           db:
675             Fn::Join:
676               - ''
677               - - mysql://nova:unset@
678                 - *database_host
679                 - /nova
680           default_floating_pool:
681             ext-net
682           host: {get_input: controller_virtual_ip}
683           metadata-proxy: true
684           service-password:
685             get_param: NovaPassword
686         rabbit:
687           host: {get_input: controller_virtual_ip}
688           username:
689             get_param: RabbitUserName
690           password:
691             get_param: RabbitPassword
692           cookie:
693             get_attr:
694             - RabbitCookie
695             - value
696           rabbit_client_use_ssl: {get_param: RabbitClientUseSSL}
697           rabbit_port: {get_param: RabbitClientPort}
698         ntp:
699           servers:
700               - {server: {get_param: NtpServer}}
701         virtual_interfaces:
702           instances:
703             - vrrp_instance_name: VI_CONTROL
704               virtual_router_id: 51
705               keepalive_interface:
706                 get_param: ControlVirtualInterface
707               priority: 101
708               virtual_ips:
709               - ip: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
710                 interface:
711                   get_param: ControlVirtualInterface
712             - vrrp_instance_name: VI_PUBLIC
713               virtual_router_id: 52
714               keepalive_interface:
715                 get_param: PublicVirtualInterface
716               priority: 101
717               virtual_ips:
718               - ip: {get_attr: [PublicVirtualIP, fixed_ips, 0, ip_address]}
719                 interface:
720                   get_param: PublicVirtualInterface
721           vrrp_sync_groups:
722             - name: VG1
723               members:
724                 - VI_CONTROL
725                 - VI_PUBLIC
726         keepalived:
727           keepalive_interface:
728             get_param: PublicVirtualInterface
729           priority: 101
730         virtual_ips:
731             -
732               ip: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
733               interface:
734                 get_param: ControlVirtualInterface
735             -
736               ip: {get_attr: [PublicVirtualIP, fixed_ips, 0, ip_address]}
737               interface:
738                 get_param: PublicVirtualInterface
739         haproxy:
740           nodes:
741             Merge::Map:
742               controller0:
743                 ip: {get_attr: [controller0, networks, ctlplane, 0]}
744                 name: {get_attr: [controller0, name]}
745           net_binds:
746             - &control_vip {ip: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}}
747             - &public_vip {ip: {get_attr: [PublicVirtualIP, fixed_ips, 0, ip_address]}}
748           options:
749             - option httpchk GET /
750           services:
751             - name: keystone_admin
752               port: 35357
753             - name: keystone_public
754               port: 5000
755             - name: horizon
756               port: 80
757             - name: neutron
758               port: 9696
759             - name: cinder
760               port: 8776
761             - name: glance_api
762               port: 9292
763             - name: glance_registry
764               port: 9191
765               options: # overwrite options as glace_reg needs auth for http req
766             - name: heat_api
767               port: 8004
768             - name: heat_cloudwatch
769               port: 8003
770             - name: heat_cfn
771               port: 8000
772             - name: mysql
773               port: 3306
774               net_binds:
775                 - *control_vip
776               extra_server_params:
777                 - backup
778               options:
779                 - timeout client 0
780                 - timeout server 0
781             - name: nova_ec2
782               port: 8773
783             - name: nova_osapi
784               port: 8774
785             - name: nova_metadata
786               port: 8775
787             - name: nova_novncproxy
788               port: 6080
789             - name: ceilometer
790               port: 8777
791               options: # overwrite options as ceil needs auth for http req
792             - name: swift_proxy_server
793               port: 8080
794               options:
795                 - option httpchk GET /info
796             - name: rabbitmq
797               port: 5672
798               net_binds:
799                 - *control_vip
800               options:
801                 - timeout client 0
802                 - timeout server 0
803                 - maxconn 1500
804   controllerPassthrough:
805     type: OS::Heat::StructuredConfig
806     properties:
807       group: os-apply-config
808       config: {get_input: passthrough_config}
809   controllerPassthroughSpecific:
810     type: OS::Heat::StructuredConfig
811     properties:
812       group: os-apply-config
813       config: {get_input: passthrough_config_specific}
814   controller0:
815     type: OS::Nova::Server
816     properties:
817       image:
818         get_param: controllerImage
819       image_update_policy:
820         get_param: ImageUpdatePolicy
821       flavor:
822         get_param: OvercloudControlFlavor
823       key_name:
824         get_param: KeyName
825       networks:
826         - network: ctlplane
827       user_data_format: SOFTWARE_CONFIG
828   controller0AllNodesDeployment:
829     depends_on: [controller0Deployment,controller0SSLDeployment,controller0Swift,controller0PassthroughSpecific]
830     type: OS::Heat::StructuredDeployment
831     properties:
832       signal_transport: {get_param: DefaultSignalTransport}
833       config: {get_resource: allNodesConfig}
834       server: {get_resource: controller0}
835   controller0Deployment:
836     type: OS::Heat::StructuredDeployment
837     properties:
838       signal_transport: NO_SIGNAL
839       config: {get_resource: controllerConfig}
840       server: {get_resource: controller0}
841       input_values:
842         bootstack_nodeid: {get_attr: [controller0, name]}
843         controller_host: {get_attr: [controller0, networks, ctlplane, 0]}
844         controller_virtual_ip:
845           {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
846         heat.watch_server_url:
847           Fn::Join:
848             - ''
849             - - 'http://'
850               - {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
851               - ':8003'
852         heat.metadata_server_url:
853           Fn::Join:
854             - ''
855             - - 'http://'
856               - {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
857               - ':8000'
858         heat.waitcondition_server_url:
859           Fn::Join:
860             - ''
861             - - 'http://'
862               - {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
863               - ':8000/v1/waitcondition'
864   allNodesConfig:
865     type: OS::Heat::StructuredConfig
866     properties:
867       config:
868         completion-signal: {get_input: deploy_signal_id}
869         hosts:
870           Fn::Join:
871           - "\n"
872           - - Fn::Join:
873               - "\n"
874               - Merge::Map:
875                   NovaCompute0:
876                     Fn::Join:
877                     - ' '
878                     - - {get_attr: [NovaCompute0, networks, ctlplane, 0]}
879                       - {get_attr: [NovaCompute0, name]}
880             - Fn::Join:
881               - "\n"
882               - Merge::Map:
883                   BlockStorage0:
884                     Fn::Join:
885                     - ' '
886                     - - {get_attr: [BlockStorage0, networks, ctlplane, 0]}
887                       - {get_attr: [BlockStorage0, name]}
888             - Fn::Join:
889               - "\n"
890               - Merge::Map:
891                   SwiftStorage0:
892                     Fn::Join:
893                     - ' '
894                     - - {get_attr: [SwiftStorage0, networks, ctlplane, 0]}
895                       - {get_attr: [SwiftStorage0, name]}
896             - Fn::Join:
897               - "\n"
898               - Merge::Map:
899                   controller0:
900                     Fn::Join:
901                     - ' '
902                     - - {get_attr: [controller0, networks, ctlplane, 0]}
903                       - {get_attr: [controller0, name]}
904                       - {get_param: CloudName}
905         rabbit:
906           nodes:
907             Fn::Join:
908               - ','
909               - Merge::Map:
910                   controller0:
911                     {get_attr: [controller0, name]}
912         sysctl:
913           net.ipv4.tcp_keepalive_time: 5
914           net.ipv4.tcp_keepalive_probes: 5
915           net.ipv4.tcp_keepalive_intvl: 1
916   controller0SSLDeployment:
917     type: OS::Heat::StructuredDeployment
918     properties:
919       config: {get_resource: SSLConfig}
920       server: {get_resource: controller0}
921       signal_transport: NO_SIGNAL
922       input_values:
923         controller_host: {get_attr: [controller0, networks, ctlplane, 0]}
924         ssl_certificate: {get_param: SSLCertificate}
925         ssl_key: {get_param: SSLKey}
926         ssl_ca_certificate: {get_param: SSLCACertificate}
927   controller0Passthrough:
928     type: OS::Heat::StructuredDeployment
929     properties:
930       config: {get_resource: controllerPassthrough}
931       server: {get_resource: controller0}
932       signal_transport: NO_SIGNAL
933       input_values:
934         passthrough_config: {get_param: ExtraConfig}
935   controller0PassthroughSpecific:
936     depends_on: [controller0Passthrough]
937     type: OS::Heat::StructuredDeployment
938     properties:
939       config: {get_resource: controllerPassthroughSpecific}
940       server: {get_resource: controller0}
941       signal_transport: NO_SIGNAL
942       input_values:
943         passthrough_config_specific: {get_param: controllerExtraConfig}
944 outputs:
945   KeystoneURL:
946     description: URL for the Overcloud Keystone service
947     value:
948       Fn::Join:
949       - ''
950       - - http://
951         - {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
952         - :5000/v2.0/