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.
75 Remove configuration that is not generated by TripleO. Used to avoid
76 configuration remnants after upgrades.
79 description: Enable IPv6 features in Nova
81 UpgradeLevelNovaCompute:
83 description: Nova Compute upgrade level
85 NovaCronArchiveDeleteRowsMinute:
88 Cron to move deleted instances to another table - Minute
90 NovaCronArchiveDeleteRowsHour:
93 Cron to move deleted instances to another table - Hour
95 NovaCronArchiveDeleteRowsMonthday:
98 Cron to move deleted instances to another table - Month Day
100 NovaCronArchiveDeleteRowsMonth:
103 Cron to move deleted instances to another table - Month
105 NovaCronArchiveDeleteRowsWeekday:
108 Cron to move deleted instances to another table - Week Day
110 NovaCronArchiveDeleteRowsMaxRows:
113 Cron to move deleted instances to another table - Max Rows
115 NovaCronArchiveDeleteRowsUser:
118 Cron to move deleted instances to another table - User
120 NovaCronArchiveDeleteRowsDestination:
123 Cron to move deleted instances to another table - Log destination
124 default: '/var/log/nova/nova-rowsflush.log'
125 NovaCronArchiveDeleteRowsUntilComplete:
128 Cron to move deleted instances to another table - Until complete
130 NovaPlacementAPIInterface:
133 Endpoint interface to be used for the placement API.
138 compute_upgrade_level_empty: {equals : [{get_param: UpgradeLevelNovaCompute}, '']}
142 description: Role data for the Nova base service.
144 service_name: nova_base
147 - nova::rabbit_password: {get_param: RabbitPassword}
148 nova::rabbit_userid: {get_param: RabbitUserName}
149 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
150 nova::rabbit_port: {get_param: RabbitClientPort}
151 nova::placement::project_name: 'service'
152 nova::placement::password: {get_param: NovaPassword}
153 nova::placement::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
154 nova::placement::os_region_name: {get_param: KeystoneRegion}
155 nova::placement::os_interface: {get_param: NovaPlacementAPIInterface}
156 nova::database_connection:
158 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
160 password: {get_param: NovaPassword}
161 host: {get_param: [EndpointMap, MysqlInternal, host]}
164 read_default_file: /etc/my.cnf.d/tripleo.cnf
165 read_default_group: tripleo
166 nova::cell0_database_connection:
168 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
170 password: {get_param: NovaPassword}
171 host: {get_param: [EndpointMap, MysqlInternal, host]}
174 read_default_file: /etc/my.cnf.d/tripleo.cnf
175 read_default_group: tripleo
176 nova::api_database_connection:
178 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
180 password: {get_param: NovaPassword}
181 host: {get_param: [EndpointMap, MysqlInternal, host]}
184 read_default_file: /etc/my.cnf.d/tripleo.cnf
185 read_default_group: tripleo
186 nova::placement_database_connection:
188 scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}
189 username: nova_placement
190 password: {get_param: NovaPassword}
191 host: {get_param: [EndpointMap, MysqlInternal, host]}
192 path: /nova_placement
194 read_default_file: /etc/my.cnf.d/tripleo.cnf
195 read_default_group: tripleo
196 nova::debug: {get_param: Debug}
197 nova::purge_config: {get_param: EnableConfigPurge}
198 nova::network::neutron::neutron_project_name: 'service'
199 nova::network::neutron::neutron_username: 'neutron'
200 nova::network::neutron::neutron_region_name: {get_param: KeystoneRegion}
201 nova::network::neutron::dhcp_domain: ''
202 nova::network::neutron::neutron_password: {get_param: NeutronPassword}
203 nova::network::neutron::neutron_url: {get_param: [EndpointMap, NeutronInternal, uri]}
204 nova::network::neutron::neutron_auth_url: {get_param: [EndpointMap, KeystoneV3Admin, uri]}
205 nova::rabbit_heartbeat_timeout_threshold: 60
206 nova::cinder_catalog_info: 'volumev2:cinderv2:internalURL'
207 nova::host: '%{::fqdn}'
208 nova::notify_on_state_change: 'vm_and_task_state'
209 nova::notification_driver: messagingv2
210 nova::network::neutron::neutron_auth_type: 'v3password'
211 nova::db::database_db_max_retries: -1
212 nova::db::database_max_retries: -1
213 nova::db::sync::db_sync_timeout: {get_param: DatabaseSyncTimeout}
214 nova::db::sync_api::db_sync_timeout: {get_param: DatabaseSyncTimeout}
215 nova::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
216 nova::use_ipv6: {get_param: NovaIPv6}
217 nova::network::neutron::neutron_ovs_bridge: {get_param: NovaOVSBridge}
218 nova::cron::archive_deleted_rows::minute: {get_param: NovaCronArchiveDeleteRowsMinute}
219 nova::cron::archive_deleted_rows::hour: {get_param: NovaCronArchiveDeleteRowsHour}
220 nova::cron::archive_deleted_rows::monthday: {get_param: NovaCronArchiveDeleteRowsMonthday}
221 nova::cron::archive_deleted_rows::month: {get_param: NovaCronArchiveDeleteRowsMonth}
222 nova::cron::archive_deleted_rows::weekday: {get_param: NovaCronArchiveDeleteRowsWeekday}
223 nova::cron::archive_deleted_rows::max_rows: {get_param: NovaCronArchiveDeleteRowsMaxRows}
224 nova::cron::archive_deleted_rows::user: {get_param: NovaCronArchiveDeleteRowsUser}
225 nova::cron::archive_deleted_rows::destination: {get_param: NovaCronArchiveDeleteRowsDestination}
226 nova::cron::archive_deleted_rows::until_complete: {get_param: NovaCronArchiveDeleteRowsUntilComplete}
229 - compute_upgrade_level_empty
231 - nova::upgrade_level_compute: {get_param: UpgradeLevelNovaCompute}
232 service_config_settings:
234 # NOTE(aschultz): this should be configurable if/when we support more
235 # complex cell v2 configurations. For now, this is the default cell
236 # created for the cell v2 configuration
237 nova::db::mysql_api::setup_cell0: true
238 nova::rabbit_password: {get_param: RabbitPassword}
239 nova::rabbit_userid: {get_param: RabbitUserName}
240 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
241 nova::rabbit_port: {get_param: RabbitClientPort}