Update git submodules
* Update oslo.messaging from branch 'master' - Merge "Fix switch connection destination when a rabbitmq cluster node disappear" - Fix switch connection destination when a rabbitmq cluster node disappear In a clustered rabbitmq when a node disappears, we get a ConnectionRefusedError because the socket get disconnected. The socket access yields a OSError because the heartbeat tries to reach an unreachable host (No route to host). Catch these exceptions to ensure that we call ensure_connection for switching the connection destination. POC is available at github.com:4383/rabbitmq-oslo_messging-error-poc Example: $ git clone git@github.com:4383/rabbitmq-oslo_messging-error-poc $ cd rabbitmq-oslo_messging-error-poc $ python -m virtualenv . $ source bin/activate $ pip install -r requirements.txt $ sudo podman run -d --hostname my-rabbit --name rabbit rabbitmq:3 $ python poc.py $(sudo podman inspect rabbit | niet '.[0].NetworkSettings.IPAddress') And in parallele in an another shell|tmux $ podman stop rabbit $ # observe the output of the poc.py script we now call ensure_connection Now you can observe some output relative to the connection who is modified and not catched before these changes. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1665399 Closes-Bug: #1828841 Change-Id: I9dc1644cac0e39eb11bf05f57bde77dcf6d42ed3
This commit is contained in:
parent
23d02fc2d3
commit
ea3160cf88
|
@ -1 +1 @@
|
|||
Subproject commit 4f467fbd73092aadda8b42e517bb60a4782064ae
|
||||
Subproject commit fe0ac3195ef1dcb1b481f0f5cf6ff2b55ca6056d
|
Loading…
Reference in New Issue