Go to file
Alyson Deives Pereira 3618b76d94 Fix file descriptor leak on zerorpc Client
Reuse zerorpc client with client_provide.get_client_for_endpoint() to
avoid leaking file descriptors.

Test Plan (AIO-DX):
PASS: Without this change, set controller-0 to not use zeromq and
configure controller-1 to use RPC hybrid_mode. Verify the number of
fd files on controller-1 at /proc/<sysinv-agent-pid>/fd keeps
increasing over time.

PASS: With this change on controller-1 and the same configuration
above, verify that the number of fd files on controller-1 does not
increase over time.

PASS: With this change on controller-1, update controller-0 to use
zeromq instead of rabbitmq, and keep controller-1 on hybrid mode.
Verify that no errors occurs on logs and that the number of fds do not
 increase.

Closes-Bug: 2024834
Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com>
Change-Id: I85733533b1ff3a2ef869ae2b23730527fc24466e
2023-06-22 17:59:19 -03:00
2022-05-31 13:56:30 +00:00
2019-04-19 19:52:42 +00:00
2021-08-27 08:39:06 -04:00
2018-05-31 07:35:52 -07:00
2022-12-26 18:55:39 +00:00

stx-config

StarlingX Configuration Management

Description
StarlingX System Configuration Management
Readme 106 MiB
Languages
Python 98%
Shell 1.6%
CSS 0.2%