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
71 compute_upgrade_level_empty: {equals : [{get_param: UpgradeLevelNovaCompute}, '']}
75 description: Role data for the Nova base service.
77 service_name: nova_base
80 - nova::rabbit_password: {get_param: RabbitPassword}
81 nova::rabbit_userid: {get_param: RabbitUserName}
82 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
83 nova::rabbit_port: {get_param: RabbitClientPort}
84 nova::database_connection:
87 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
89 - {get_param: NovaPassword}
91 - {get_param: [EndpointMap, MysqlInternal, host]}
94 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
95 nova::api_database_connection:
98 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
100 - {get_param: NovaPassword}
102 - {get_param: [EndpointMap, MysqlInternal, host]}
105 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
106 nova::debug: {get_param: Debug}
107 nova::purge_config: {get_param: EnableConfigPurge}
108 nova::network::neutron::neutron_project_name: 'service'
109 nova::network::neutron::neutron_username: 'neutron'
110 nova::network::neutron::dhcp_domain: ''
111 nova::network::neutron::neutron_password: {get_param: NeutronPassword}
112 nova::network::neutron::neutron_url: {get_param: [EndpointMap, NeutronInternal, uri]}
113 nova::network::neutron::neutron_auth_url: {get_param: [EndpointMap, KeystoneV3Admin, uri]}
114 nova::rabbit_heartbeat_timeout_threshold: 60
115 nova::cinder_catalog_info: 'volumev2:cinderv2:internalURL'
116 nova::host: '%{::fqdn}'
117 nova::notify_on_state_change: 'vm_and_task_state'
118 nova::notification_driver: messagingv2
119 nova::network::neutron::neutron_auth_type: 'v3password'
120 nova::db::database_db_max_retries: -1
121 nova::db::database_max_retries: -1
122 nova::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
123 nova::use_ipv6: {get_param: NovaIPv6}
124 nova::network::neutron::neutron_ovs_bridge: {get_param: NovaOVSBridge}
127 - compute_upgrade_level_empty
129 - nova::upgrade_level_compute: {get_param: UpgradeLevelNovaCompute}
130 service_config_settings:
132 # NOTE(aschultz): this should be configurable if/when we support more
133 # complex cell v2 configurations. For now, this is the default cell
134 # created for the cell v2 configuration
135 nova::db::mysql_api::setup_cell0: true
136 nova::rabbit_password: {get_param: RabbitPassword}
137 nova::rabbit_userid: {get_param: RabbitUserName}
138 nova::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
139 nova::rabbit_port: {get_param: RabbitClientPort}