Add/update region config in nova.conf
On multi-region deployments, Nova may talk to the wrong
neutron endpoint (from the wrong region) if the region
is unspecified.
On Rocky+ it will also require updating the
os_region_name config to region_name, as os_region_name
has been deprecated, otherwise Nova will talk to the wrong
placement endpoint as well.
This fix addresses the issue where nova-compute will not
register the node to the correct nova_api/placement
database, and will also not be able to complete live-migrations.
Given that the template for the [placement] section is
applied to every release, it is included both old and
new config options.
Change-Id: I9500ba400d55e6f1bc11f2ba05b25b4714cda578
Closes-bug: #1903210
(cherry picked from commit 835d4b167a
)
This commit is contained in:
parent
23515a5ace
commit
7a178053f1
|
@ -15,6 +15,7 @@ password = {{ admin_password }}
|
|||
{% endif -%}
|
||||
{% if region -%}
|
||||
os_region_name = {{ region }}
|
||||
region_name = {{ region }}
|
||||
{% endif -%}
|
||||
{% if use_internal_endpoints -%}
|
||||
os_interface = internal
|
||||
|
|
|
@ -154,6 +154,9 @@ alias = {{ pci_alias }}
|
|||
{% if network_manager == 'neutron' and network_manager_config -%}
|
||||
[neutron]
|
||||
url = {{ network_manager_config.neutron_url }}
|
||||
{% if region -%}
|
||||
region_name = {{ region }}
|
||||
{% endif -%}
|
||||
{% if network_manager_config.keystone_host or auth_host -%}
|
||||
{% if neutron_plugin and neutron_plugin == 'vsp' -%}
|
||||
ovs_bridge = alubr0
|
||||
|
|
|
@ -158,6 +158,9 @@ alias = {{ pci_alias }}
|
|||
{% if network_manager == 'neutron' and network_manager_config -%}
|
||||
[neutron]
|
||||
url = {{ network_manager_config.neutron_url }}
|
||||
{% if region -%}
|
||||
region_name = {{ region }}
|
||||
{% endif -%}
|
||||
{% if network_manager_config.keystone_host or auth_host -%}
|
||||
{% if neutron_plugin and neutron_plugin == 'vsp' -%}
|
||||
ovs_bridge = alubr0
|
||||
|
|
|
@ -165,6 +165,9 @@ alias = {{ pci_alias }}
|
|||
{% if network_manager == 'neutron' and network_manager_config -%}
|
||||
[neutron]
|
||||
url = {{ network_manager_config.neutron_url }}
|
||||
{% if region -%}
|
||||
region_name = {{ region }}
|
||||
{% endif -%}
|
||||
{% if network_manager_config.keystone_host or auth_host -%}
|
||||
{% if neutron_plugin and neutron_plugin == 'vsp' -%}
|
||||
ovs_bridge = alubr0
|
||||
|
|
Loading…
Reference in New Issue