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
96 Rabbit client subscriber parameter to specify
97 an SSL connection to the RabbitMQ host.
101 description: Set rabbit subscriber port, change this if using SSL
103 SnmpdReadonlyUserName:
104 default: ro_snmp_user
105 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
107 SnmpdReadonlyUserPassword:
109 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
116 Setting to a previously unused value during stack-update will trigger
117 package update on all nodes
120 default: '' # Defaults to Heat created hostname
123 description: Mapping of service_name -> network name. Typically set
124 via parameter_defaults in the resource registry.
135 type: OS::Nova::Server
139 flavor: {get_param: Flavor}
140 key_name: {get_param: KeyName}
143 user_data_format: SOFTWARE_CONFIG
144 user_data: {get_resource: NodeUserData}
145 name: {get_param: Hostname}
148 type: OS::TripleO::NodeUserData
151 type: OS::TripleO::BlockStorage::Ports::InternalApiPort
153 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
156 type: OS::TripleO::BlockStorage::Ports::StoragePort
158 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
161 type: OS::TripleO::BlockStorage::Ports::StorageMgmtPort
163 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
166 type: OS::TripleO::BlockStorage::Net::SoftwareConfig
168 ControlPlaneIp: {get_attr: [BlockStorage, networks, ctlplane, 0]}
169 InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
170 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
171 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
174 type: OS::TripleO::SoftwareDeployment
176 config: {get_resource: NetworkConfig}
177 server: {get_resource: BlockStorage}
179 BlockStorageDeployment:
180 type: OS::Heat::StructuredDeployment
182 server: {get_resource: BlockStorage}
183 config: {get_resource: BlockStorageConfig}
185 controller_virtual_ip: {get_param: VirtualIP}
186 cinder_dsn: {list_join: ['', ['mysql://cinder:', {get_param: CinderPassword}, '@', {get_param: VirtualIP} , '/cinder']]}
187 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
188 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
189 signal_transport: NO_SIGNAL
191 type: OS::Heat::StructuredConfig
193 group: os-apply-config
196 host: {get_input: controller_virtual_ip}
198 db: {get_input: cinder_dsn}
200 get_param: CinderLVMLoopDeviceSize
202 get_param: CinderISCSIHelper
204 export_MIB: UCD-SNMP-MIB
205 readonly_user_name: {get_input: snmpd_readonly_user_name}
206 readonly_user_password: {get_input: snmpd_readonly_user_password}
208 host: {get_input: controller_virtual_ip}
209 username: {get_param: RabbitUserName}
210 password: {get_param: RabbitPassword}
212 host: {get_input: controller_virtual_ip}
213 port: {get_param: GlancePort}
220 IP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
221 HOST: {get_attr: [BlockStorage, name]}
222 internal_api_ip_address:
223 description: IP address of the server in the internal_api network
224 value: {get_attr: [InternalApiPort, ip_address]}
226 description: IP address of the server in the storage network
227 value: {get_attr: [StoragePort, ip_address]}
228 storage_mgmt_ip_address:
229 description: IP address of the server in the storage_mgmt network
230 value: {get_attr: [StorageMgmtPort, ip_address]}
232 description: identifier which changes if the node configuration may need re-applying
233 value: "None - NO_SIGNAL"