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.
12 BlockStorageAccessPolicy:
13 Type: OS::Heat::AccessPolicy
20 Policies: [ { Ref: BlockStorageAccessPolicy } ]
22 Type: AWS::IAM::AccessKey
26 BlockStorage0CompletionCondition:
27 Type: AWS::CloudFormation::WaitCondition
28 DependsOn: notCompute0Config
30 Handle: {Ref: BlockStorage0CompletionHandle}
33 BlockStorage0CompletionHandle:
34 Type: AWS::CloudFormation::WaitConditionHandle
36 Type: OS::Nova::Server
39 {Ref: BlockStorageImage}
40 flavor: {Ref: OvercloudBlockStorageFlavor}
41 key_name: {Ref: KeyName}
44 Ref: BlockStorage0CompletionHandle
50 Fn::GetAtt: [ BlockStorageKey, SecretAccessKey ]
51 stack_name: {Ref: 'AWS::StackName'}
52 OpenStack::ImageBuilder::Elements: [ cinder ]
54 host: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [notCompute0, networks]} ]} ] }
56 db: {"Fn::Join": ['', ['mysql://cinder:unset@', {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [notCompute0, networks]} ]} ] } , '/cinder']]}
57 volume_size_mb: '5000'
60 admin-password: {Ref: AdminPassword}
62 host: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [notCompute0, networks]} ]} ] }
63 username: {Ref: RabbitUserName}
64 password: {Ref: RabbitPassword}
66 control: {Ref: NeutronPublicInterface}