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.
13 type: OS::Nova::Server
16 {get_param: BlockStorageImage}
17 flavor: {get_param: OvercloudBlockStorageFlavor}
18 key_name: {get_param: KeyName}
19 user_data_format: SOFTWARE_CONFIG
20 BlockStorage0Deployment:
21 type: OS::Heat::StructuredDeployment
23 server: {get_resource: BlockStorage0}
24 config: {get_resource: BlockStorageConfig}
26 controller_host: {get_attr: [controller0, networks, ctlplane, 0]}
27 cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]} , '/cinder']]}
28 signal_transport: NO_SIGNAL
30 type: OS::Heat::StructuredConfig
32 group: os-apply-config
34 admin-password: {get_param: AdminPassword}
36 host: {get_input: controller_host}
38 db: {get_input: cinder_dsn}
40 get_param: CinderLVMLoopDeviceSize
42 get_param: CinderPassword
44 get_param: CinderISCSIHelper
46 host: {get_input: controller_host}
47 username: {get_param: RabbitUserName}
48 password: {get_param: RabbitPassword}