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 InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
169 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
170 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
173 type: OS::TripleO::SoftwareDeployment
175 config: {get_resource: NetworkConfig}
176 server: {get_resource: BlockStorage}
178 BlockStorageDeployment:
179 type: OS::Heat::StructuredDeployment
181 server: {get_resource: BlockStorage}
182 config: {get_resource: BlockStorageConfig}
184 controller_virtual_ip: {get_param: VirtualIP}
185 cinder_dsn: {list_join: ['', ['mysql://cinder:', {get_param: CinderPassword}, '@', {get_param: VirtualIP} , '/cinder']]}
186 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
187 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
188 signal_transport: NO_SIGNAL
190 type: OS::Heat::StructuredConfig
192 group: os-apply-config
195 host: {get_input: controller_virtual_ip}
197 db: {get_input: cinder_dsn}
199 get_param: CinderLVMLoopDeviceSize
201 get_param: CinderISCSIHelper
203 export_MIB: UCD-SNMP-MIB
204 readonly_user_name: {get_input: snmpd_readonly_user_name}
205 readonly_user_password: {get_input: snmpd_readonly_user_password}
207 host: {get_input: controller_virtual_ip}
208 username: {get_param: RabbitUserName}
209 password: {get_param: RabbitPassword}
211 host: {get_input: controller_virtual_ip}
212 port: {get_param: GlancePort}
219 IP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
220 HOST: {get_attr: [BlockStorage, name]}
221 internal_api_ip_address:
222 description: IP address of the server in the internal_api network
223 value: {get_attr: [InternalApiPort, ip_address]}
225 description: IP address of the server in the storage network
226 value: {get_attr: [StoragePort, ip_address]}
227 storage_mgmt_ip_address:
228 description: IP address of the server in the storage_mgmt network
229 value: {get_attr: [StorageMgmtPort, ip_address]}
231 description: identifier which changes if the node configuration may need re-applying
232 value: "None - NO_SIGNAL"