1 heat_template_version: 2013-05-23
2 description: 'Common Block Storage Configuration'
6 default: overcloud-cinder-volume
7 OvercloudBlockStorageFlavor:
8 description: Flavor for block storage nodes to request when deploying.
11 - custom_constraint: nova.flavor
12 BlockStorageExtraConfig:
15 Controller specific configuration to inject into the cluster. Same
16 structure as ExtraConfig.
20 type: OS::Nova::Server
23 {get_param: BlockStorageImage}
24 flavor: {get_param: OvercloudBlockStorageFlavor}
25 key_name: {get_param: KeyName}
26 user_data_format: SOFTWARE_CONFIG
27 BlockStorage0AllNodesDeployment:
28 depends_on: [BlockStorage0Deployment,BlockStorage0PassthroughSpecific]
29 type: OS::Heat::StructuredDeployment
31 signal_transport: {get_param: DefaultSignalTransport}
32 config: {get_resource: allNodesConfig}
33 server: {get_resource: BlockStorage0}
34 BlockStorage0Deployment:
35 type: OS::Heat::StructuredDeployment
37 server: {get_resource: BlockStorage0}
38 config: {get_resource: BlockStorageConfig}
40 controller_virtual_ip: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
41 cinder_dsn: {"Fn::Join": ['', ['mysql://cinder:unset@', {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]} , '/cinder']]}
42 signal_transport: NO_SIGNAL
43 BlockStorage0Passthrough:
44 type: OS::Heat::StructuredDeployment
46 config: {get_resource: BlockStoragePassthrough}
47 server: {get_resource: BlockStorage0}
48 signal_transport: NO_SIGNAL
50 passthrough_config: {get_param: ExtraConfig}
51 BlockStorage0PassthroughSpecific:
52 depends_on: [BlockStorage0Passthrough]
53 type: OS::Heat::StructuredDeployment
55 config: {get_resource: BlockStoragePassthroughSpecific}
56 server: {get_resource: BlockStorage0}
57 signal_transport: NO_SIGNAL
59 passthrough_config_specific: {get_param: BlockStorageExtraConfig}
61 type: OS::Heat::StructuredConfig
63 group: os-apply-config
65 admin-password: {get_param: AdminPassword}
67 host: {get_input: controller_virtual_ip}
69 db: {get_input: cinder_dsn}
71 get_param: CinderLVMLoopDeviceSize
73 get_param: CinderPassword
75 get_param: CinderISCSIHelper
77 host: {get_input: controller_virtual_ip}
78 username: {get_param: RabbitUserName}
79 password: {get_param: RabbitPassword}
81 host: {get_input: controller_virtual_ip}
82 port: {get_param: GlancePort}
83 BlockStoragePassthrough:
84 type: OS::Heat::StructuredConfig
86 group: os-apply-config
87 config: {get_input: passthrough_config}
88 BlockStoragePassthroughSpecific:
89 type: OS::Heat::StructuredConfig
91 group: os-apply-config
92 config: {get_input: passthrough_config_specific}