1 heat_template_version: pike
4 OpenStack Nova base service. Shared for all Nova services.
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Role name on which the service is applied
22 description: Parameters specific to the role
26 description: Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
32 description: Keystone region for endpoint
34 description: The password for the nova service and db account, used by nova-api.
38 description: The password for the neutron service and db account, used by neutron agents.
43 description: Name of integration bridge used by Open vSwitch
46 description: The password for RabbitMQ
51 description: The username for RabbitMQ
56 Rabbit client subscriber parameter to specify
57 an SSL connection to the RabbitMQ host.
61 description: Set rabbit subscriber port, change this if using SSL
65 description: DB Sync Timeout default
70 description: Set to True to enable debugging on all services.
73 description: Set to True to enable debugging Nova services.
79 Remove configuration that is not generated by TripleO. Used to avoid
80 configuration remnants after upgrades.
83 description: Enable IPv6 features in Nova
85 UpgradeLevelNovaCompute:
87 description: Nova Compute upgrade level
89 NovaCronArchiveDeleteRowsMinute:
92 Cron to move deleted instances to another table - Minute
94 NovaCronArchiveDeleteRowsHour:
97 Cron to move deleted instances to another table - Hour
99 NovaCronArchiveDeleteRowsMonthday:
102 Cron to move deleted instances to another table - Month Day
104 NovaCronArchiveDeleteRowsMonth:
107 Cron to move deleted instances to another table - Month
109 NovaCronArchiveDeleteRowsWeekday:
112 Cron to move deleted instances to another table - Week Day
114 NovaCronArchiveDeleteRowsMaxRows:
117 Cron to move deleted instances to another table - Max Rows
119 NovaCronArchiveDeleteRowsUser:
122 Cron to move deleted instances to another table - User
124 NovaCronArchiveDeleteRowsDestination:
127 Cron to move deleted instances to another table - Log destination
128 default: '/var/log/nova/nova-rowsflush.log'
129 NovaCronArchiveDeleteRowsUntilComplete:
132 Cron to move deleted instances to another table - Until complete
134 NovaPlacementAPIInterface:
137 Endpoint interface to be used for the placement API.
142 compute_upgrade_level_empty: {equals : [{get_param: UpgradeLevelNovaCompute}, '']}
143 service_debug_unset: {equals : [{get_param: NovaDebug}, '']}
147 description: Role data for the Nova base service.
149 service_name: nova_base
152 - nova::rabbit_password: {get_param: RabbitPassword}
153 nova::rabbit_userid: {get_param: RabbitUserName}
154 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
155 nova::rabbit_port: {get_param: RabbitClientPort}
156 nova::placement::project_name: 'service'
157 nova::placement::password: {get_param: NovaPassword}
158 nova::placement::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
159 nova::placement::os_region_name: {get_param: KeystoneRegion}
160 nova::placement::os_interface: {get_param: NovaPlacementAPIInterface}
161 nova::database_connection:
163 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
165 password: {get_param: NovaPassword}
166 host: {get_param: [EndpointMap, MysqlInternal, host]}
169 read_default_file: /etc/my.cnf.d/tripleo.cnf
170 read_default_group: tripleo
171 nova::cell0_database_connection:
173 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
175 password: {get_param: NovaPassword}
176 host: {get_param: [EndpointMap, MysqlInternal, host]}
179 read_default_file: /etc/my.cnf.d/tripleo.cnf
180 read_default_group: tripleo
181 nova::api_database_connection:
183 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
185 password: {get_param: NovaPassword}
186 host: {get_param: [EndpointMap, MysqlInternal, host]}
189 read_default_file: /etc/my.cnf.d/tripleo.cnf
190 read_default_group: tripleo
191 nova::placement_database_connection:
193 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
194 username: nova_placement
195 password: {get_param: NovaPassword}
196 host: {get_param: [EndpointMap, MysqlInternal, host]}
197 path: /nova_placement
199 read_default_file: /etc/my.cnf.d/tripleo.cnf
200 read_default_group: tripleo
203 - service_debug_unset
204 - {get_param: Debug }
205 - {get_param: NovaDebug }
206 nova::purge_config: {get_param: EnableConfigPurge}
207 nova::network::neutron::neutron_project_name: 'service'
208 nova::network::neutron::neutron_username: 'neutron'
209 nova::network::neutron::neutron_region_name: {get_param: KeystoneRegion}
210 nova::network::neutron::dhcp_domain: ''
211 nova::network::neutron::neutron_password: {get_param: NeutronPassword}
212 nova::network::neutron::neutron_url: {get_param: [EndpointMap, NeutronInternal, uri]}
213 nova::network::neutron::neutron_auth_url: {get_param: [EndpointMap, KeystoneV3Admin, uri]}
214 nova::rabbit_heartbeat_timeout_threshold: 60
215 nova::cinder_catalog_info: 'volumev2:cinderv2:internalURL'
216 nova::host: '%{::fqdn}'
217 nova::notify_on_state_change: 'vm_and_task_state'
218 nova::notification_driver: messagingv2
219 nova::network::neutron::neutron_auth_type: 'v3password'
220 nova::db::database_db_max_retries: -1
221 nova::db::database_max_retries: -1
222 nova::db::sync::db_sync_timeout: {get_param: DatabaseSyncTimeout}
223 nova::db::sync_api::db_sync_timeout: {get_param: DatabaseSyncTimeout}
224 nova::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
225 nova::use_ipv6: {get_param: NovaIPv6}
226 nova::network::neutron::neutron_ovs_bridge: {get_param: NovaOVSBridge}
227 nova::cron::archive_deleted_rows::minute: {get_param: NovaCronArchiveDeleteRowsMinute}
228 nova::cron::archive_deleted_rows::hour: {get_param: NovaCronArchiveDeleteRowsHour}
229 nova::cron::archive_deleted_rows::monthday: {get_param: NovaCronArchiveDeleteRowsMonthday}
230 nova::cron::archive_deleted_rows::month: {get_param: NovaCronArchiveDeleteRowsMonth}
231 nova::cron::archive_deleted_rows::weekday: {get_param: NovaCronArchiveDeleteRowsWeekday}
232 nova::cron::archive_deleted_rows::max_rows: {get_param: NovaCronArchiveDeleteRowsMaxRows}
233 nova::cron::archive_deleted_rows::user: {get_param: NovaCronArchiveDeleteRowsUser}
234 nova::cron::archive_deleted_rows::destination: {get_param: NovaCronArchiveDeleteRowsDestination}
235 nova::cron::archive_deleted_rows::until_complete: {get_param: NovaCronArchiveDeleteRowsUntilComplete}
238 - compute_upgrade_level_empty
240 - nova::upgrade_level_compute: {get_param: UpgradeLevelNovaCompute}
241 service_config_settings:
243 # NOTE(aschultz): this should be configurable if/when we support more
244 # complex cell v2 configurations. For now, this is the default cell
245 # created for the cell v2 configuration
246 nova::db::mysql_api::setup_cell0: true
247 nova::rabbit_password: {get_param: RabbitPassword}
248 nova::rabbit_userid: {get_param: RabbitUserName}
249 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
250 nova::rabbit_port: {get_param: RabbitClientPort}