Fix some neutron configuration options

Move metadata_workers from neutron.conf to metadata_agent.ini.

Remove unknown option placement/os_region_name: we already have
placement/region_name which is the correct one.

This can be backported to previous releases.

Change-Id: I710b5364244d976020656e1ee68e89f337cb3086
This commit is contained in:
Pierre Riteau 2022-11-23 21:12:09 +01:00
parent 093e28aba1
commit 92d6e27c5e
2 changed files with 1 additions and 2 deletions

View File

@ -5,3 +5,4 @@ nova_metadata_host = {{ nova_internal_fqdn }}
nova_metadata_port = {{ nova_metadata_port }} nova_metadata_port = {{ nova_metadata_port }}
metadata_proxy_shared_secret = {{ metadata_secret }} metadata_proxy_shared_secret = {{ metadata_secret }}
nova_metadata_protocol = {{ internal_protocol }} nova_metadata_protocol = {{ internal_protocol }}
metadata_workers = {{ neutron_metadata_workers }}

View File

@ -18,7 +18,6 @@ bind_port = {{ neutron_server_listen_port }}
api_paste_config = /etc/neutron/api-paste.ini api_paste_config = /etc/neutron/api-paste.ini
api_workers = {{ neutron_api_workers }} api_workers = {{ neutron_api_workers }}
metadata_workers = {{ neutron_metadata_workers }}
rpc_workers = {{ openstack_service_rpc_workers }} rpc_workers = {{ openstack_service_rpc_workers }}
rpc_state_report_workers = {{ openstack_service_rpc_workers }} rpc_state_report_workers = {{ openstack_service_rpc_workers }}
@ -192,7 +191,6 @@ password = {{ placement_keystone_password }}
user_domain_name = {{ default_user_domain_name }} user_domain_name = {{ default_user_domain_name }}
project_name = service project_name = service
project_domain_name = {{ default_project_domain_name }} project_domain_name = {{ default_project_domain_name }}
os_region_name = {{ openstack_region_name }}
endpoint_type = internal endpoint_type = internal
cafile = {{ openstack_cacert }} cafile = {{ openstack_cacert }}
region_name = {{ openstack_region_name }} region_name = {{ openstack_region_name }}