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}
43 volume_size_mb: '5000'
47 Ref: CinderISCSIHelper
48 admin-password: {Ref: AdminPassword}
50 host: {get_input: controller_host}
51 username: {Ref: RabbitUserName}
52 password: {Ref: RabbitPassword}
54 control: {Ref: NeutronPublicInterface}
57 local_ip: {get_input: neutron_local_ip}
58 tenant_network_type: {Ref: NeutronNetworkType}
59 enable_tunneling: {Ref: NeutronEnableTunnelling}
64 host: {get_input: controller_host}
66 db: {get_input: cinder_dsn}
67 volume_size_mb: '5000'
71 Ref: CinderISCSIHelper
72 admin-password: {Ref: AdminPassword}
74 host: {get_input: controller_host}
75 username: {Ref: RabbitUserName}
76 password: {Ref: RabbitPassword}
78 control: {Ref: NeutronPublicInterface}
81 local_ip: { get_input: neutron_local_ip }
82 tenant_network_type: {Ref: NeutronNetworkType}
83 enable_tunneling: {Ref: NeutronEnableTunnelling}