4e75297b58
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 |
||
---|---|---|
.. | ||
__init__.py | ||
amqp.py | ||
common.py | ||
dispatcher.py | ||
impl_fake.py | ||
impl_kombu.py | ||
impl_qpid.py | ||
matchmaker.py | ||
matchmaker_ring.py | ||
proxy.py | ||
serializer.py | ||
service.py |