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 BlockStorage0Deployment:
26 Type: OS::Heat::StructuredDeployment
28 server: {Ref: BlockStorage0}
29 config: {Ref: BlockStorageConfig}
31 controller_host: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
32 cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] } , '/cinder']]}
33 neutron_local_ip: {"Fn::Select": [0, "Fn::Select": [ctlplane, [{"Fn::GetAtt": [BlockStorage0 , networks]}]]]}
35 Type: OS::Heat::StructuredConfig
38 admin-password: {Ref: AdminPassword}
40 host: {get_input: controller_host}
42 db: {get_input: cinder_dsn}
44 Ref: CinderLVMLoopDeviceSize
48 Ref: CinderISCSIHelper
49 admin-password: {Ref: AdminPassword}
51 host: {get_input: controller_host}
52 username: {Ref: RabbitUserName}
53 password: {Ref: RabbitPassword}
55 control: {Ref: NeutronPublicInterface}
58 local_ip: {get_input: neutron_local_ip}
59 tenant_network_type: {Ref: NeutronNetworkType}
60 enable_tunneling: {Ref: NeutronEnableTunnelling}
65 host: {get_input: controller_host}
67 db: {get_input: cinder_dsn}
69 Ref: CinderLVMLoopDeviceSize
73 Ref: CinderISCSIHelper
74 admin-password: {Ref: AdminPassword}
76 host: {get_input: controller_host}
77 username: {Ref: RabbitUserName}
78 password: {Ref: RabbitPassword}
80 control: {Ref: NeutronPublicInterface}
83 local_ip: { get_input: neutron_local_ip }
84 tenant_network_type: {Ref: NeutronNetworkType}
85 enable_tunneling: {Ref: NeutronEnableTunnelling}