1 heat_template_version: ocata
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: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
22 description: The password for the nova service and db account, used by nova-api.
26 description: The password for the neutron service and db account, used by neutron agents.
31 description: Name of integration bridge used by Open vSwitch
34 description: The password for RabbitMQ
39 description: The username for RabbitMQ
44 Rabbit client subscriber parameter to specify
45 an SSL connection to the RabbitMQ host.
49 description: Set rabbit subscriber port, change this if using SSL
54 description: Set to True to enable debugging on all services.
59 Remove configuration that is not generated by TripleO. Setting
60 to false may result in configuration remnants after updates/upgrades.
63 description: Enable IPv6 features in Nova
65 UpgradeLevelNovaCompute:
67 description: Nova Compute upgrade level
69 NovaCronArchiveDeleteRowsMinute:
72 Cron to move deleted instances to another table - Minute
74 NovaCronArchiveDeleteRowsHour:
77 Cron to move deleted instances to another table - Hour
79 NovaCronArchiveDeleteRowsMonthday:
82 Cron to move deleted instances to another table - Month Day
84 NovaCronArchiveDeleteRowsMonth:
87 Cron to move deleted instances to another table - Month
89 NovaCronArchiveDeleteRowsWeekday:
92 Cron to move deleted instances to another table - Week Day
94 NovaCronArchiveDeleteRowsMaxRows:
97 Cron to move deleted instances to another table - Max Rows
99 NovaCronArchiveDeleteRowsUser:
102 Cron to move deleted instances to another table - User
104 NovaCronArchiveDeleteRowsDestination:
107 Cron to move deleted instances to another table - Log destination
108 default: '/var/log/nova/nova-rowsflush.log'
109 NovaCronArchiveDeleteRowsUntilComplete:
112 Cron to move deleted instances to another table - Until complete
118 compute_upgrade_level_empty: {equals : [{get_param: UpgradeLevelNovaCompute}, '']}
122 description: Role data for the Nova base service.
124 service_name: nova_base
127 - nova::rabbit_password: {get_param: RabbitPassword}
128 nova::rabbit_userid: {get_param: RabbitUserName}
129 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
130 nova::rabbit_port: {get_param: RabbitClientPort}
131 nova::database_connection:
134 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
136 - {get_param: NovaPassword}
138 - {get_param: [EndpointMap, MysqlInternal, host]}
141 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
142 nova::api_database_connection:
145 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
147 - {get_param: NovaPassword}
149 - {get_param: [EndpointMap, MysqlInternal, host]}
152 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
153 nova::placement_database_connection:
156 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
157 - '://nova_placement:'
158 - {get_param: NovaPassword}
160 - {get_param: [EndpointMap, MysqlInternal, host]}
163 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
164 nova::debug: {get_param: Debug}
165 nova::purge_config: {get_param: EnableConfigPurge}
166 nova::network::neutron::neutron_project_name: 'service'
167 nova::network::neutron::neutron_username: 'neutron'
168 nova::network::neutron::dhcp_domain: ''
169 nova::network::neutron::neutron_password: {get_param: NeutronPassword}
170 nova::network::neutron::neutron_url: {get_param: [EndpointMap, NeutronInternal, uri]}
171 nova::network::neutron::neutron_auth_url: {get_param: [EndpointMap, KeystoneV3Admin, uri]}
172 nova::rabbit_heartbeat_timeout_threshold: 60
173 nova::cinder_catalog_info: 'volumev2:cinderv2:internalURL'
174 nova::host: '%{::fqdn}'
175 nova::notify_on_state_change: 'vm_and_task_state'
176 nova::notification_driver: messagingv2
177 nova::network::neutron::neutron_auth_type: 'v3password'
178 nova::db::database_db_max_retries: -1
179 nova::db::database_max_retries: -1
180 nova::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
181 nova::use_ipv6: {get_param: NovaIPv6}
182 nova::network::neutron::neutron_ovs_bridge: {get_param: NovaOVSBridge}
183 nova::cron::archive_deleted_rows::minute: {get_param: NovaCronArchiveDeleteRowsMinute}
184 nova::cron::archive_deleted_rows::hour: {get_param: NovaCronArchiveDeleteRowsHour}
185 nova::cron::archive_deleted_rows::monthday: {get_param: NovaCronArchiveDeleteRowsMonthday}
186 nova::cron::archive_deleted_rows::month: {get_param: NovaCronArchiveDeleteRowsMonth}
187 nova::cron::archive_deleted_rows::weekday: {get_param: NovaCronArchiveDeleteRowsWeekday}
188 nova::cron::archive_deleted_rows::max_rows: {get_param: NovaCronArchiveDeleteRowsMaxRows}
189 nova::cron::archive_deleted_rows::user: {get_param: NovaCronArchiveDeleteRowsUser}
190 nova::cron::archive_deleted_rows::destination: {get_param: NovaCronArchiveDeleteRowsDestination}
191 nova::cron::archive_deleted_rows::until_complete: {get_param: NovaCronArchiveDeleteRowsUntilComplete}
194 - compute_upgrade_level_empty
196 - nova::upgrade_level_compute: {get_param: UpgradeLevelNovaCompute}
197 service_config_settings:
199 # NOTE(aschultz): this should be configurable if/when we support more
200 # complex cell v2 configurations. For now, this is the default cell
201 # created for the cell v2 configuration
202 nova::db::mysql_api::setup_cell0: true
203 nova::rabbit_password: {get_param: RabbitPassword}
204 nova::rabbit_userid: {get_param: RabbitUserName}
205 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
206 nova::rabbit_port: {get_param: RabbitClientPort}