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]}]]}
35 signal_transport: NO_SIGNAL
37 Type: OS::Heat::StructuredConfig
39 group: os-apply-config
41 admin-password: {Ref: AdminPassword}
43 host: {get_input: controller_host}
45 db: {get_input: cinder_dsn}
47 Ref: CinderLVMLoopDeviceSize
51 Ref: CinderISCSIHelper
52 admin-password: {Ref: AdminPassword}
54 host: {get_input: controller_host}
55 username: {Ref: RabbitUserName}
56 password: {Ref: RabbitPassword}
58 control: {Ref: NeutronPublicInterface}
61 local_ip: {get_input: neutron_local_ip}
62 tenant_network_type: {Ref: NeutronNetworkType}
63 enable_tunneling: {Ref: NeutronEnableTunnelling}
68 host: {get_input: controller_host}
70 db: {get_input: cinder_dsn}
72 Ref: CinderLVMLoopDeviceSize
76 Ref: CinderISCSIHelper
77 admin-password: {Ref: AdminPassword}
79 host: {get_input: controller_host}
80 username: {Ref: RabbitUserName}
81 password: {Ref: RabbitPassword}
83 control: {Ref: NeutronPublicInterface}
86 local_ip: { get_input: neutron_local_ip }
87 tenant_network_type: {Ref: NeutronNetworkType}
88 enable_tunneling: {Ref: NeutronEnableTunnelling}