From bcf248e6eaea6b8dddc8f0af45054649ca8d0627 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Wed, 6 Nov 2024 16:08:58 +0100 Subject: [PATCH] [Fullstack] Use only one keepalived-state-change thread in L3 agent By default number of threads used by the neutron-keepalived-state-change service is set to "1 + / 2" which in CI results with "4". This is definitely not needed for the fullstack tests where L3 agent is spawned for the single test and don't need to handle more than one router ever. To safe some CPU resources this patch sets this config option to '1' in fullstack tests. Related-bug: #2083609 Change-Id: I18cfb18abe481f47db870f210188e1a570844077 (cherry picked from commit df177b15db2b92b6e8050f812a8ee0b3fcfd460f) --- neutron/tests/fullstack/resources/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutron/tests/fullstack/resources/config.py b/neutron/tests/fullstack/resources/config.py index 1873b603fd9..6a0dc0c316a 100644 --- a/neutron/tests/fullstack/resources/config.py +++ b/neutron/tests/fullstack/resources/config.py @@ -426,6 +426,7 @@ class L3ConfigFixture(ConfigFixture): self.config['DEFAULT'].update({ 'debug': 'True', 'test_namespace_suffix': self._generate_namespace_suffix(), + 'ha_keepalived_state_change_server_threads': '1', }) self.config.update({ 'agent': {'use_helper_for_ns_read': 'False'}