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
37 group: os-apply-config
39 admin-password: {Ref: AdminPassword}
41 host: {get_input: controller_host}
43 db: {get_input: cinder_dsn}
45 Ref: CinderLVMLoopDeviceSize
49 Ref: CinderISCSIHelper
50 admin-password: {Ref: AdminPassword}
52 host: {get_input: controller_host}
53 username: {Ref: RabbitUserName}
54 password: {Ref: RabbitPassword}
56 control: {Ref: NeutronPublicInterface}
59 local_ip: {get_input: neutron_local_ip}
60 tenant_network_type: {Ref: NeutronNetworkType}
61 enable_tunneling: {Ref: NeutronEnableTunnelling}
66 host: {get_input: controller_host}
68 db: {get_input: cinder_dsn}
70 Ref: CinderLVMLoopDeviceSize
74 Ref: CinderISCSIHelper
75 admin-password: {Ref: AdminPassword}
77 host: {get_input: controller_host}
78 username: {Ref: RabbitUserName}
79 password: {Ref: RabbitPassword}
81 control: {Ref: NeutronPublicInterface}
84 local_ip: { get_input: neutron_local_ip }
85 tenant_network_type: {Ref: NeutronNetworkType}
86 enable_tunneling: {Ref: NeutronEnableTunnelling}