config/sysinv/sysinv
Andy Ning 4e75297b58 Specify default connect_timeout for sysinv agent
During bootstrap, for some reason rabbitMQ takes longer time to
response to sysinv agent's AMQP request after TCP connection is
established. This usually happens after multiple connection failures,
and can be as long as 8s. But it's still within th 10s
handshake_timeout configured on rabbitMQ. However the sysinv agent
uses the default 5s timeout from kombu lib so it doesn't wait long
enough before hanging up the connection. This causes the agent can't
reconnect to the rabbitMQ. In turn, the defered manifests don't have
chance to pass readiness checking and get applied.

This commit specifies a 10s default connect_timeout for the agent
t0 connect to rabbitMQ, aligning with the server side timeout.

Closes-Bug: 1928008
Signed-off-by: Andy Ning <andy.ning@windriver.com>
Change-Id: I8cc476910f47fca687ddcfd5f3d20f451f70ffce
2021-05-10 16:28:51 -04:00
..
centos sysinv: Cleanup requirements 2021-04-01 09:18:05 -04:00
debian sysinv: Cleanup requirements 2021-04-01 09:18:05 -04:00
opensuse sysinv: Cleanup requirements 2021-04-01 09:18:05 -04:00
sysinv Specify default connect_timeout for sysinv agent 2021-05-10 16:28:51 -04:00
.gitignore StarlingX open source release updates 2018-05-31 07:35:52 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:35:52 -07:00