From dcc417dbec9a79aab8689f0a130163898ce60c0c Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 3 Sep 2020 10:02:11 +0200 Subject: [PATCH] Set neutron-ovn-metadata-agent metadata_workers to 2 As per [1] and [2] - it solves a problem, where neutron-ovn-metadata-agent will spawn high number of workers (defaults to half number of CPUs). [1]: http://lists.openstack.org/pipermail/openstack-discuss/2020-September/016960.html [2]: https://bugs.launchpad.net/neutron/+bug/1893656 Change-Id: Id69f9399fe76ff7c4e2e17b5ab5ec7df1a01c5c9 --- .../roles/neutron/templates/neutron_ovn_metadata_agent.ini.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/neutron/templates/neutron_ovn_metadata_agent.ini.j2 b/ansible/roles/neutron/templates/neutron_ovn_metadata_agent.ini.j2 index 591e8cde14..6775162116 100644 --- a/ansible/roles/neutron/templates/neutron_ovn_metadata_agent.ini.j2 +++ b/ansible/roles/neutron/templates/neutron_ovn_metadata_agent.ini.j2 @@ -7,6 +7,7 @@ nova_metadata_port = {{ nova_metadata_port }} metadata_proxy_shared_secret = {{ metadata_secret }} log_file = neutron-ovn-metadata-agent.log log_dir = /var/log/kolla/neutron +metadata_workers = 2 [ovs] ovsdb_connection = tcp:127.0.0.1:6640