3618b76d9448a728855bc4707bbc62dfad36aa5b
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
stx-config
StarlingX Configuration Management
Description
Languages
Python
98%
Shell
1.6%
CSS
0.2%