25da3180b5
On multi-region deployments, Nova may talk to the wrong neutron endpoint (from the wrong region) if the region is unspecified. The issue that requires this fix is most apparent when doing live migrations, as the Conductor tries to call Neutron to perform port bindings. Closes-bug: #1903210 Change-Id: Id118f6a5794de298c31debf6e31ffe92271982d1
25 lines
669 B
Plaintext
25 lines
669 B
Plaintext
[neutron]
|
|
url = {{ neutron_url }}
|
|
{% if region -%}
|
|
region_name = {{ region }}
|
|
{% endif -%}
|
|
{% if auth_host -%}
|
|
auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}
|
|
auth_type = password
|
|
{% if api_version == "3" -%}
|
|
project_domain_name = {{ admin_domain_name }}
|
|
user_domain_name = {{ admin_domain_name }}
|
|
{% else -%}
|
|
project_domain_name = default
|
|
user_domain_name = default
|
|
{% endif -%}
|
|
project_name = {{ admin_tenant_name }}
|
|
username = {{ admin_user }}
|
|
password = {{ admin_password }}
|
|
{% endif -%}
|
|
# {{ enable_metadata }}
|
|
{% if enable_metadata -%}
|
|
service_metadata_proxy = True
|
|
metadata_proxy_shared_secret = {{ metadata_proxy_shared_secret }}
|
|
{% endif -%}
|