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"
65 BlockStorageExtraConfig:
68 Role specific additional configuration to inject into the cluster.
71 description: Flavor for block storage nodes to request when deploying.
74 - custom_constraint: nova.flavor
77 description: Glance port.
81 description: Protocol to use when connecting to glance, set to https for SSL.
85 description: Name of an existing EC2 KeyPair to enable SSH access to the instances
97 Rabbit client subscriber parameter to specify
98 an SSL connection to the RabbitMQ host.
102 description: Set rabbit subscriber port, change this if using SSL
104 SnmpdReadonlyUserName:
105 default: ro_snmp_user
106 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
108 SnmpdReadonlyUserPassword:
110 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
117 Setting to a previously unused value during stack-update will trigger
118 package update on all nodes
121 default: '' # Defaults to Heat created hostname
124 description: Mapping of service_name -> network name. Typically set
125 via parameter_defaults in the resource registry.
136 type: OS::Nova::Server
140 flavor: {get_param: Flavor}
141 key_name: {get_param: KeyName}
144 user_data_format: SOFTWARE_CONFIG
145 user_data: {get_resource: NodeUserData}
146 name: {get_param: Hostname}
149 type: OS::TripleO::NodeUserData
152 type: OS::TripleO::BlockStorage::Ports::InternalApiPort
154 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
157 type: OS::TripleO::BlockStorage::Ports::StoragePort
159 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
162 type: OS::TripleO::BlockStorage::Ports::StorageMgmtPort
164 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
167 type: OS::TripleO::BlockStorage::Net::SoftwareConfig
169 ControlPlaneIp: {get_attr: [BlockStorage, networks, ctlplane, 0]}
170 InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
171 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
172 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
175 type: OS::TripleO::SoftwareDeployment
177 config: {get_resource: NetworkConfig}
178 server: {get_resource: BlockStorage}
180 BlockStorageDeployment:
181 type: OS::Heat::StructuredDeployment
183 server: {get_resource: BlockStorage}
184 config: {get_resource: BlockStorageConfig}
186 controller_virtual_ip: {get_param: VirtualIP}
187 cinder_dsn: {list_join: ['', ['mysql://cinder:', {get_param: CinderPassword}, '@', {get_param: VirtualIP} , '/cinder']]}
188 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
189 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
190 signal_transport: NO_SIGNAL
192 type: OS::Heat::StructuredConfig
194 group: os-apply-config
197 host: {get_input: controller_virtual_ip}
199 db: {get_input: cinder_dsn}
201 get_param: CinderLVMLoopDeviceSize
203 get_param: CinderISCSIHelper
205 export_MIB: UCD-SNMP-MIB
206 readonly_user_name: {get_input: snmpd_readonly_user_name}
207 readonly_user_password: {get_input: snmpd_readonly_user_password}
209 host: {get_input: controller_virtual_ip}
210 username: {get_param: RabbitUserName}
211 password: {get_param: RabbitPassword}
213 host: {get_input: controller_virtual_ip}
214 port: {get_param: GlancePort}
221 IP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
222 HOST: {get_attr: [BlockStorage, name]}
223 internal_api_ip_address:
224 description: IP address of the server in the internal_api network
225 value: {get_attr: [InternalApiPort, ip_address]}
227 description: IP address of the server in the storage network
228 value: {get_attr: [StoragePort, ip_address]}
229 storage_mgmt_ip_address:
230 description: IP address of the server in the storage_mgmt network
231 value: {get_attr: [StorageMgmtPort, ip_address]}
233 description: identifier which changes if the node configuration may need re-applying
234 value: "None - NO_SIGNAL"