1 heat_template_version: 2014-10-16
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: {list_join: ['', ['mysql://cinder:unset@', {get_attr: [controller0, networks, ctlplane, 0]} , '/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
52 admin-password: {get_param: AdminPassword}
54 host: {get_input: controller_host}
55 username: {get_param: RabbitUserName}
56 password: {get_param: RabbitPassword}
58 control: {get_param: NeutronPublicInterface}
61 local_ip: {get_input: neutron_local_ip}
62 tenant_network_type: {get_param: NeutronNetworkType}
63 enable_tunneling: {get_param: NeutronEnableTunnelling}
65 get_param: NeutronPassword
68 host: {get_input: controller_host}
70 db: {get_input: cinder_dsn}
72 get_param: CinderLVMLoopDeviceSize
74 get_param: CinderPassword
76 get_param: CinderISCSIHelper
77 admin-password: {get_param: AdminPassword}
79 host: {get_input: controller_host}
80 username: {get_param: RabbitUserName}
81 password: {get_param: RabbitPassword}
83 control: {get_param: NeutronPublicInterface}
86 local_ip: { get_input: neutron_local_ip }
87 tenant_network_type: {get_param: NeutronNetworkType}
88 enable_tunneling: {get_param: NeutronEnableTunnelling}
90 get_param: NeutronPassword