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
35 default: 'messagingv2'
36 description: Driver or drivers to handle sending notifications.
38 - allowed_values: [ 'messagingv2', 'noop' ]
40 description: The password for the nova service and db account, used by nova-api.
44 description: The password for the neutron service and db account, used by neutron agents.
49 description: Name of integration bridge used by Open vSwitch
52 description: The password for RabbitMQ
57 description: The username for RabbitMQ
62 Rabbit client subscriber parameter to specify
63 an SSL connection to the RabbitMQ host.
67 description: Set rabbit subscriber port, change this if using SSL
71 description: DB Sync Timeout default
76 description: Set to True to enable debugging on all services.
79 description: Set to True to enable debugging Nova services.
85 Remove configuration that is not generated by TripleO. Used to avoid
86 configuration remnants after upgrades.
89 description: Enable IPv6 features in Nova
91 UpgradeLevelNovaCompute:
93 description: Nova Compute upgrade level
95 NovaCronArchiveDeleteRowsMinute:
98 Cron to move deleted instances to another table - Minute
100 NovaCronArchiveDeleteRowsHour:
103 Cron to move deleted instances to another table - Hour
105 NovaCronArchiveDeleteRowsMonthday:
108 Cron to move deleted instances to another table - Month Day
110 NovaCronArchiveDeleteRowsMonth:
113 Cron to move deleted instances to another table - Month
115 NovaCronArchiveDeleteRowsWeekday:
118 Cron to move deleted instances to another table - Week Day
120 NovaCronArchiveDeleteRowsMaxRows:
123 Cron to move deleted instances to another table - Max Rows
125 NovaCronArchiveDeleteRowsUser:
128 Cron to move deleted instances to another table - User
130 NovaCronArchiveDeleteRowsDestination:
133 Cron to move deleted instances to another table - Log destination
134 default: '/var/log/nova/nova-rowsflush.log'
135 NovaCronArchiveDeleteRowsUntilComplete:
138 Cron to move deleted instances to another table - Until complete
140 NovaPlacementAPIInterface:
143 Endpoint interface to be used for the placement API.
148 compute_upgrade_level_empty: {equals : [{get_param: UpgradeLevelNovaCompute}, '']}
149 service_debug_unset: {equals : [{get_param: NovaDebug}, '']}
153 description: Role data for the Nova base service.
155 service_name: nova_base
158 - nova::rabbit_password: {get_param: RabbitPassword}
159 nova::rabbit_userid: {get_param: RabbitUserName}
160 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
161 nova::rabbit_port: {get_param: RabbitClientPort}
162 nova::placement::project_name: 'service'
163 nova::placement::password: {get_param: NovaPassword}
164 nova::placement::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
165 nova::placement::os_region_name: {get_param: KeystoneRegion}
166 nova::placement::os_interface: {get_param: NovaPlacementAPIInterface}
167 nova::database_connection:
169 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
171 password: {get_param: NovaPassword}
172 host: {get_param: [EndpointMap, MysqlInternal, host]}
175 read_default_file: /etc/my.cnf.d/tripleo.cnf
176 read_default_group: tripleo
177 nova::cell0_database_connection:
179 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
181 password: {get_param: NovaPassword}
182 host: {get_param: [EndpointMap, MysqlInternal, host]}
185 read_default_file: /etc/my.cnf.d/tripleo.cnf
186 read_default_group: tripleo
187 nova::api_database_connection:
189 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
191 password: {get_param: NovaPassword}
192 host: {get_param: [EndpointMap, MysqlInternal, host]}
195 read_default_file: /etc/my.cnf.d/tripleo.cnf
196 read_default_group: tripleo
197 nova::placement_database_connection:
199 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
200 username: nova_placement
201 password: {get_param: NovaPassword}
202 host: {get_param: [EndpointMap, MysqlInternal, host]}
203 path: /nova_placement
205 read_default_file: /etc/my.cnf.d/tripleo.cnf
206 read_default_group: tripleo
209 - service_debug_unset
210 - {get_param: Debug }
211 - {get_param: NovaDebug }
212 nova::purge_config: {get_param: EnableConfigPurge}
213 nova::network::neutron::neutron_project_name: 'service'
214 nova::network::neutron::neutron_username: 'neutron'
215 nova::network::neutron::neutron_region_name: {get_param: KeystoneRegion}
216 nova::network::neutron::dhcp_domain: ''
217 nova::network::neutron::neutron_password: {get_param: NeutronPassword}
218 nova::network::neutron::neutron_url: {get_param: [EndpointMap, NeutronInternal, uri]}
219 nova::network::neutron::neutron_auth_url: {get_param: [EndpointMap, KeystoneV3Admin, uri]}
220 nova::rabbit_heartbeat_timeout_threshold: 60
221 nova::cinder_catalog_info: 'volumev2:cinderv2:internalURL'
222 nova::host: '%{::fqdn}'
223 nova::notify_on_state_change: 'vm_and_task_state'
224 nova::notification_driver: {get_param: NotificationDriver}
225 nova::network::neutron::neutron_auth_type: 'v3password'
226 nova::db::database_db_max_retries: -1
227 nova::db::database_max_retries: -1
228 nova::db::sync::db_sync_timeout: {get_param: DatabaseSyncTimeout}
229 nova::db::sync_api::db_sync_timeout: {get_param: DatabaseSyncTimeout}
230 nova::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
231 nova::use_ipv6: {get_param: NovaIPv6}
232 nova::network::neutron::neutron_ovs_bridge: {get_param: NovaOVSBridge}
233 nova::cron::archive_deleted_rows::minute: {get_param: NovaCronArchiveDeleteRowsMinute}
234 nova::cron::archive_deleted_rows::hour: {get_param: NovaCronArchiveDeleteRowsHour}
235 nova::cron::archive_deleted_rows::monthday: {get_param: NovaCronArchiveDeleteRowsMonthday}
236 nova::cron::archive_deleted_rows::month: {get_param: NovaCronArchiveDeleteRowsMonth}
237 nova::cron::archive_deleted_rows::weekday: {get_param: NovaCronArchiveDeleteRowsWeekday}
238 nova::cron::archive_deleted_rows::max_rows: {get_param: NovaCronArchiveDeleteRowsMaxRows}
239 nova::cron::archive_deleted_rows::user: {get_param: NovaCronArchiveDeleteRowsUser}
240 nova::cron::archive_deleted_rows::destination: {get_param: NovaCronArchiveDeleteRowsDestination}
241 nova::cron::archive_deleted_rows::until_complete: {get_param: NovaCronArchiveDeleteRowsUntilComplete}
244 - compute_upgrade_level_empty
246 - nova::upgrade_level_compute: {get_param: UpgradeLevelNovaCompute}
247 service_config_settings:
249 # NOTE(aschultz): this should be configurable if/when we support more
250 # complex cell v2 configurations. For now, this is the default cell
251 # created for the cell v2 configuration
252 nova::db::mysql_api::setup_cell0: true
253 nova::rabbit_password: {get_param: RabbitPassword}
254 nova::rabbit_userid: {get_param: RabbitUserName}
255 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
256 nova::rabbit_port: {get_param: RabbitClientPort}