1 heat_template_version: 2013-05-23
2 description: 'Common Block Storage Configuration'
6 default: overcloud-cinder-volume
7 OvercloudBlockStorageFlavor:
9 description: Flavor for block storage nodes to request when deploying.
14 NeutronEnableTunnelling:
19 type: OS::Nova::Server
22 {get_param: BlockStorageImage}
23 flavor: {get_param: OvercloudBlockStorageFlavor}
24 key_name: {get_param: KeyName}
25 user_data_format: SOFTWARE_CONFIG
26 BlockStorage0Deployment:
27 type: OS::Heat::StructuredDeployment
29 server: {get_resource: BlockStorage0}
30 config: {get_resource: BlockStorageConfig}
32 controller_host: {get_attr: [controller0, networks, ctlplane, 0]}
33 cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]} , '/cinder']]}
34 neutron_local_ip: {get_attr: [BlockStorage0 , networks, ctlplane, 0]}
35 signal_transport: NO_SIGNAL
37 type: OS::Heat::StructuredConfig
39 group: os-apply-config
41 admin-password: {get_param: AdminPassword}
43 host: {get_input: controller_host}
45 db: {get_input: cinder_dsn}
47 get_param: CinderLVMLoopDeviceSize
49 get_param: CinderPassword
51 get_param: CinderISCSIHelper
53 host: {get_input: controller_host}
54 username: {get_param: RabbitUserName}
55 password: {get_param: RabbitPassword}
57 control: {get_param: NeutronPublicInterface}
60 local_ip: {get_input: neutron_local_ip}
61 tenant_network_type: {get_param: NeutronNetworkType}
62 enable_tunneling: {get_param: NeutronEnableTunnelling}
64 get_param: NeutronPassword