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 depends_on: [controller0AllNodesDeployment]
22 type: OS::Heat::StructuredDeployment
24 server: {get_resource: BlockStorage0}
25 config: {get_resource: BlockStorageConfig}
27 controller_virtual_ip: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
28 cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]} , '/cinder']]}
29 signal_transport: NO_SIGNAL
31 type: OS::Heat::StructuredConfig
33 group: os-apply-config
35 admin-password: {get_param: AdminPassword}
37 host: {get_input: controller_virtual_ip}
39 db: {get_input: cinder_dsn}
41 get_param: CinderLVMLoopDeviceSize
43 get_param: CinderPassword
45 get_param: CinderISCSIHelper
47 host: {get_input: controller_virtual_ip}
48 username: {get_param: RabbitUserName}
49 password: {get_param: RabbitPassword}
51 host: {get_input: controller_virtual_ip}
52 port: {get_param: GlancePort}