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.
25 Additional configuration to inject into the cluster. The JSON should have
26 the following structure:
29 [{"section": "SECTIONNAME",
31 [{"option": "OPTIONNAME",
42 [{"section": "default",
44 [{"option": "force_config_drive",
52 "value": "nova.cells.rpc_driver.CellsRPCDriver"
61 description: Flavor for block storage nodes to request when deploying.
64 - custom_constraint: nova.flavor
67 description: Glance port.
71 description: Name of an existing EC2 KeyPair to enable SSH access to the instances
82 Rabbit client subscriber parameter to specify
83 an SSL connection to the RabbitMQ host.
87 description: Set rabbit subscriber port, change this if using SSL
89 SnmpdReadonlyUserName:
91 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
93 SnmpdReadonlyUserPassword:
95 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
100 type: OS::Nova::Server
104 flavor: {get_param: Flavor}
105 key_name: {get_param: KeyName}
108 user_data_format: SOFTWARE_CONFIG
109 user_data: {get_resource: NodeUserData}
112 type: OS::TripleO::NodeUserData
115 type: OS::TripleO::BlockStorage::Ports::InternalApiPort
117 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
120 type: OS::TripleO::BlockStorage::Ports::StoragePort
122 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
125 type: OS::TripleO::BlockStorage::Ports::StorageMgmtPort
127 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
130 type: OS::TripleO::BlockStorage::Net::SoftwareConfig
132 InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
133 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
134 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
137 type: OS::TripleO::SoftwareDeployment
139 config: {get_resource: NetworkConfig}
140 server: {get_resource: BlockStorage}
142 BlockStorageDeployment:
143 type: OS::Heat::StructuredDeployment
145 server: {get_resource: BlockStorage}
146 config: {get_resource: BlockStorageConfig}
148 controller_virtual_ip: {get_param: VirtualIP}
149 cinder_dsn: {list_join: ['', ['mysql://cinder:unset@', {get_param: VirtualIP} , '/cinder']]}
150 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
151 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
152 signal_transport: NO_SIGNAL
154 type: OS::Heat::StructuredConfig
156 group: os-apply-config
159 host: {get_input: controller_virtual_ip}
161 db: {get_input: cinder_dsn}
163 get_param: CinderLVMLoopDeviceSize
165 get_param: CinderISCSIHelper
167 export_MIB: UCD-SNMP-MIB
168 readonly_user_name: {get_input: snmpd_readonly_user_name}
169 readonly_user_password: {get_input: snmpd_readonly_user_password}
171 host: {get_input: controller_virtual_ip}
172 username: {get_param: RabbitUserName}
173 password: {get_param: RabbitPassword}
175 host: {get_input: controller_virtual_ip}
176 port: {get_param: GlancePort}
183 IP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
184 HOST: {get_attr: [BlockStorage, name]}
185 internal_api_ip_address:
186 description: IP address of the server in the internal_api network
187 value: {get_attr: [InternalApiPort, ip_address]}
189 description: IP address of the server in the storage network
190 value: {get_attr: [StoragePort, ip_address]}
191 storage_mgmt_ip_address:
192 description: IP address of the server in the storage_mgmt network
193 value: {get_attr: [StorageMgmtPort, ip_address]}