From eb3526bcdc93db0e902c88a18c67b7868cbce75f Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Fri, 18 Oct 2024 08:26:32 +0200 Subject: [PATCH] Change default number of ovn-metadata-workers to 1 This was set by default to '2' but according to the KCS article [1] it is recommended to have it set to '1'. If necessary it can be overwritten through the OpenStackDataPlaneNodeSet CR. [1] https://access.redhat.com/solutions/6666911 Closes: #OSPRH-10780 --- roles/edpm_neutron_metadata/defaults/main.yml | 2 +- roles/edpm_neutron_metadata/meta/argument_specs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/edpm_neutron_metadata/defaults/main.yml b/roles/edpm_neutron_metadata/defaults/main.yml index 3f0ec2034..468fc90ab 100644 --- a/roles/edpm_neutron_metadata/defaults/main.yml +++ b/roles/edpm_neutron_metadata/defaults/main.yml @@ -47,7 +47,7 @@ edpm_neutron_metadata_agent_rootwrap_DEFAULT_rlimit_nofile: '1024' # neutron-ovn-metadata-agent.conf edpm_neutron_metadata_agent_DEFAULT_debug: 'True' -edpm_neutron_metadata_agent_DEFAULT_metadata_workers: '2' +edpm_neutron_metadata_agent_DEFAULT_metadata_workers: '1' edpm_neutron_metadata_agent_DEFAULT_state_path: '/var/lib/neutron' edpm_neutron_metadata_agent_agent_root_helper: 'sudo neutron-rootwrap /etc/neutron/rootwrap.conf' edpm_neutron_metadata_agent_ovs_ovsdb_connection: 'tcp:127.0.0.1:6640' diff --git a/roles/edpm_neutron_metadata/meta/argument_specs.yml b/roles/edpm_neutron_metadata/meta/argument_specs.yml index 7e7aac2d7..b40626ed5 100644 --- a/roles/edpm_neutron_metadata/meta/argument_specs.yml +++ b/roles/edpm_neutron_metadata/meta/argument_specs.yml @@ -35,7 +35,7 @@ argument_specs: description: '' type: str edpm_neutron_metadata_agent_DEFAULT_metadata_workers: - default: '2' + default: '1' description: '' type: str edpm_neutron_metadata_agent_DEFAULT_nova_metadata_host: