rabbitmq heartbeat failures don't reset connections
Bug #1436788 reported by
James Page
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
Medium
|
Mehdi Abaakouk | ||
oslo.messaging (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Vivid |
Fix Released
|
High
|
Unassigned |
Bug Description
Testing with oslo.messaging 1.8.1 and kilo-3 of OpenStack; three node rabbitmq cluster, native rabbitmq clustering, no haproxy!
Restarting the rabbitmq brokers cleanly works just fine, connections switch to a different broker and all is good in the world.
However, if I yank a broker off the network uncleanly, clients connections detect the missed heartbeats, but don't reset connections and switch to a new broker until the system tcp timeout is reached.
See attached log files.
Related branches
Changed in oslo.messaging: | |
status: | New → Triaged |
Changed in oslo.messaging: | |
importance: | Undecided → High |
importance: | High → Medium |
Changed in oslo.messaging: | |
assignee: | nobody → Mehdi Abaakouk (sileht) |
milestone: | none → next-liberty |
Changed in oslo.messaging: | |
milestone: | next-liberty → none |
Changed in oslo.messaging: | |
milestone: | none → next-liberty |
Changed in oslo.messaging: | |
status: | Fix Committed → Fix Released |
Changed in oslo.messaging (Ubuntu Wily): | |
status: | New → Fix Released |
Changed in oslo.messaging (Ubuntu Vivid): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in oslo.messaging (Ubuntu Wily): | |
importance: | Undecided → High |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-done removed: verification-needed |
no longer affects: | oslo.messaging (Ubuntu Wily) |
To post a comment you must log in.
After investigation this can occurs when broker disappear at the moment of an amqp frame is written to the socket (like the heartbeat packet or when we publish a msg).
kombu/py-amqp doesn't allow to set a custom timeout for that
upstream bug: https:/ /github. com/celery/ kombu/issues/ 463