Add region config to [neutron] in nova.conf
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
(cherry picked from commit 25da3180b5
)
This commit is contained in:
parent
1d6833f2a7
commit
420da9c6e7
@ -1,5 +1,8 @@
|
|||||||
[neutron]
|
[neutron]
|
||||||
url = {{ neutron_url }}
|
url = {{ neutron_url }}
|
||||||
|
{% if region -%}
|
||||||
|
region_name = {{ region }}
|
||||||
|
{% endif -%}
|
||||||
{% if auth_host -%}
|
{% if auth_host -%}
|
||||||
auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}
|
auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}
|
||||||
auth_type = password
|
auth_type = password
|
||||||
|
Loading…
Reference in New Issue
Block a user