[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 + <num_of_cpus> / 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 df177b15db
)
This commit is contained in:
parent
6af97fc6bb
commit
bcf248e6ea
@ -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'}
|
||||
|
Loading…
Reference in New Issue
Block a user