1 HeatTemplateFormatVersion: '2012-12-12'
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 {Ref: BlockStorageImage}
23 flavor: {Ref: OvercloudBlockStorageFlavor}
24 key_name: {Ref: KeyName}
25 user_data_format: SOFTWARE_CONFIG
26 BlockStorage0Deployment:
27 Type: OS::Heat::StructuredDeployment
29 server: {Ref: BlockStorage0}
30 config: {Ref: BlockStorageConfig}
32 controller_host: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
33 cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] } , '/cinder']]}
34 neutron_local_ip: {"Fn::Select": [0, "Fn::Select": [ctlplane, {"Fn::GetAtt": [BlockStorage0 , networks]}]]}
36 Type: OS::Heat::StructuredConfig
38 group: os-apply-config
40 admin-password: {Ref: AdminPassword}
42 host: {get_input: controller_host}
44 db: {get_input: cinder_dsn}
46 Ref: CinderLVMLoopDeviceSize
50 Ref: CinderISCSIHelper
51 admin-password: {Ref: AdminPassword}
53 host: {get_input: controller_host}
54 username: {Ref: RabbitUserName}
55 password: {Ref: RabbitPassword}
57 control: {Ref: NeutronPublicInterface}
60 local_ip: {get_input: neutron_local_ip}
61 tenant_network_type: {Ref: NeutronNetworkType}
62 enable_tunneling: {Ref: NeutronEnableTunnelling}
67 host: {get_input: controller_host}
69 db: {get_input: cinder_dsn}
71 Ref: CinderLVMLoopDeviceSize
75 Ref: CinderISCSIHelper
76 admin-password: {Ref: AdminPassword}
78 host: {get_input: controller_host}
79 username: {Ref: RabbitUserName}
80 password: {Ref: RabbitPassword}
82 control: {Ref: NeutronPublicInterface}
85 local_ip: { get_input: neutron_local_ip }
86 tenant_network_type: {Ref: NeutronNetworkType}
87 enable_tunneling: {Ref: NeutronEnableTunnelling}