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:
18 BlockStorageAccessPolicy:
19 Type: OS::Heat::AccessPolicy
27 Policies: [ { Ref: BlockStorageAccessPolicy } ]
29 Type: AWS::IAM::AccessKey
33 BlockStorage0CompletionCondition:
34 Type: AWS::CloudFormation::WaitCondition
35 DependsOn: notCompute0Config
37 Handle: {Ref: BlockStorage0CompletionHandle}
40 BlockStorage0CompletionHandle:
41 Type: AWS::CloudFormation::WaitConditionHandle
43 Type: OS::Nova::Server
46 {Ref: BlockStorageImage}
47 flavor: {Ref: OvercloudBlockStorageFlavor}
48 key_name: {Ref: KeyName}
55 Fn::GetAtt: [ BlockStorage0Key, SecretAccessKey ]
56 stack_name: {Ref: 'AWS::StackName'}
57 path: BlockStorage0Config.Metadata
58 OpenStack::ImageBuilder::Elements: [ cinder ]
60 Type: AWS::AutoScaling::LaunchConfiguration
66 Ref: BlockStorage0CompletionHandle
72 Fn::GetAtt: [ BlockStorage0Key, SecretAccessKey ]
73 stack_name: {Ref: 'AWS::StackName'}
74 path: BlockStorage0Config.Metadata
75 admin-password: {Ref: AdminPassword}
77 host: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [notCompute0, networks]} ]} ] }
79 db: {"Fn::Join": ['', ['mysql://cinder:unset@', {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [notCompute0, networks]} ]} ] } , '/cinder']]}
80 volume_size_mb: '5000'
83 admin-password: {Ref: AdminPassword}
85 host: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [notCompute0, networks]} ]} ] }
86 username: {Ref: RabbitUserName}
87 password: {Ref: RabbitPassword}
89 control: {Ref: NeutronPublicInterface}
100 tenant_network_type: {Ref: NeutronNetworkType}
101 enable_tunneling: {Ref: NeutronEnableTunnelling}