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: Name of an existing EC2 KeyPair to enable SSH access to the instances
87 Rabbit client subscriber parameter to specify
88 an SSL connection to the RabbitMQ host.
92 description: Set rabbit subscriber port, change this if using SSL
94 SnmpdReadonlyUserName:
96 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
98 SnmpdReadonlyUserPassword:
100 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
105 type: OS::Nova::Server
109 flavor: {get_param: Flavor}
110 key_name: {get_param: KeyName}
113 user_data_format: SOFTWARE_CONFIG
114 user_data: {get_resource: NodeUserData}
117 type: OS::TripleO::NodeUserData
120 type: OS::TripleO::BlockStorage::Ports::InternalApiPort
122 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
125 type: OS::TripleO::BlockStorage::Ports::StoragePort
127 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
130 type: OS::TripleO::BlockStorage::Ports::StorageMgmtPort
132 ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
135 type: OS::TripleO::BlockStorage::Net::SoftwareConfig
137 InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
138 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
139 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
142 type: OS::TripleO::SoftwareDeployment
144 config: {get_resource: NetworkConfig}
145 server: {get_resource: BlockStorage}
147 BlockStorageDeployment:
148 type: OS::Heat::StructuredDeployment
150 server: {get_resource: BlockStorage}
151 config: {get_resource: BlockStorageConfig}
153 controller_virtual_ip: {get_param: VirtualIP}
154 cinder_dsn: {list_join: ['', ['mysql://cinder:', {get_param: CinderPassword}, '@', {get_param: VirtualIP} , '/cinder']]}
155 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
156 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
157 signal_transport: NO_SIGNAL
159 type: OS::Heat::StructuredConfig
161 group: os-apply-config
164 host: {get_input: controller_virtual_ip}
166 db: {get_input: cinder_dsn}
168 get_param: CinderLVMLoopDeviceSize
170 get_param: CinderISCSIHelper
172 export_MIB: UCD-SNMP-MIB
173 readonly_user_name: {get_input: snmpd_readonly_user_name}
174 readonly_user_password: {get_input: snmpd_readonly_user_password}
176 host: {get_input: controller_virtual_ip}
177 username: {get_param: RabbitUserName}
178 password: {get_param: RabbitPassword}
180 host: {get_input: controller_virtual_ip}
181 port: {get_param: GlancePort}
188 IP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
189 HOST: {get_attr: [BlockStorage, name]}
190 internal_api_ip_address:
191 description: IP address of the server in the internal_api network
192 value: {get_attr: [InternalApiPort, ip_address]}
194 description: IP address of the server in the storage network
195 value: {get_attr: [StoragePort, ip_address]}
196 storage_mgmt_ip_address:
197 description: IP address of the server in the storage_mgmt network
198 value: {get_attr: [StorageMgmtPort, ip_address]}