1 heat_template_version: 2015-04-30
2 description: 'Common Block Storage Configuration'
5 default: overcloud-cinder-volume
7 CinderEnableIscsiBackend:
9 description: Whether to enable or not the Iscsi backend for Cinder
13 description: The iSCSI helper to use with cinder.
15 CinderLVMLoopDeviceSize:
17 description: The size of the loopback file used by the cinder LVM driver.
21 description: The password for the cinder service and db account, used by cinder-api.
30 Additional configuration to inject into the cluster. The JSON should have
31 the following structure:
34 [{"section": "SECTIONNAME",
36 [{"option": "OPTIONNAME",
47 [{"section": "default",
49 [{"option": "force_config_drive",
57 "value": "nova.cells.rpc_driver.CellsRPCDriver"
66 description: Flavor for block storage nodes to request when deploying.
69 - custom_constraint: nova.flavor
72 description: Glance port.
76 description: Protocol to use when connecting to glance, set to https for SSL.
80 description: Name of an existing EC2 KeyPair to enable SSH access to the instances
91 Rabbit client subscriber parameter to specify
92 an SSL connection to the RabbitMQ host.
96 description: Set rabbit subscriber port, change this if using SSL
98 SnmpdReadonlyUserName:
100 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
102 SnmpdReadonlyUserPassword:
104 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
111 Setting to a previously unused value during stack-update will trigger
112 package update on all nodes
115 default: '' # Defaults to Heat created hostname
118 description: Mapping of service_name -> network name. Typically set
119 via parameter_defaults in the resource registry.
130 type: OS::Nova::Server
134 flavor: {get_param: Flavor}
135 key_name: {get_param: KeyName}
138 user_data_format: SOFTWARE_CONFIG
139 user_data: {get_resource: NodeUserData}
140 name: {get_param: Hostname}
143 type: OS::TripleO::NodeUserData
146 type: OS::TripleO::BlockStorage::Ports::InternalApiPort
148 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
151 type: OS::TripleO::BlockStorage::Ports::StoragePort
153 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
156 type: OS::TripleO::BlockStorage::Ports::StorageMgmtPort
158 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
161 type: OS::TripleO::BlockStorage::Net::SoftwareConfig
163 InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
164 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
165 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
168 type: OS::TripleO::SoftwareDeployment
170 config: {get_resource: NetworkConfig}
171 server: {get_resource: BlockStorage}
173 BlockStorageDeployment:
174 type: OS::Heat::StructuredDeployment
176 server: {get_resource: BlockStorage}
177 config: {get_resource: BlockStorageConfig}
179 controller_virtual_ip: {get_param: VirtualIP}
180 cinder_dsn: {list_join: ['', ['mysql://cinder:', {get_param: CinderPassword}, '@', {get_param: VirtualIP} , '/cinder']]}
181 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
182 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
183 signal_transport: NO_SIGNAL
185 type: OS::Heat::StructuredConfig
187 group: os-apply-config
190 host: {get_input: controller_virtual_ip}
192 db: {get_input: cinder_dsn}
194 get_param: CinderLVMLoopDeviceSize
196 get_param: CinderISCSIHelper
198 export_MIB: UCD-SNMP-MIB
199 readonly_user_name: {get_input: snmpd_readonly_user_name}
200 readonly_user_password: {get_input: snmpd_readonly_user_password}
202 host: {get_input: controller_virtual_ip}
203 username: {get_param: RabbitUserName}
204 password: {get_param: RabbitPassword}
206 host: {get_input: controller_virtual_ip}
207 port: {get_param: GlancePort}
214 IP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
215 HOST: {get_attr: [BlockStorage, name]}
216 internal_api_ip_address:
217 description: IP address of the server in the internal_api network
218 value: {get_attr: [InternalApiPort, ip_address]}
220 description: IP address of the server in the storage network
221 value: {get_attr: [StoragePort, ip_address]}
222 storage_mgmt_ip_address:
223 description: IP address of the server in the storage_mgmt network
224 value: {get_attr: [StorageMgmtPort, ip_address]}
226 description: identifier which changes if the node configuration may need re-applying
227 value: "None - NO_SIGNAL"