RabbitMQ OCF RA wastes network bandwidth
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Alexey Lebedeff |
Bug Description
Detailed bug description:
RabbitMQ OCF RA uses `rabbitmqctl list_queues`
E.g. a 200-node OpenStack installation produces aronud 10k queues and
10k channels. Doing single list_queues/
environment results in 27k TCP packets and around 12 megabytes of
network traffic. Given that this calls happen ~10 times a minute with 3
controllers, it results in pretty significant overhead.
But as `list_queues`
to check anything except queues/channels that exist on current node.
RabbitMQ 3.6.6 will contain some improvements that will allow us to perform such local-only checks:
- https:/
- https:/
- https:/
Reproducibility:
100%
Impact:
When somebody else (e.g. LMA) starts to regularly call `list_queues` rabbit cluster can experience network split.
Changed in fuel: | |
assignee: | nobody → MOS Packaging Team (mos-packaging) |
Changed in fuel: | |
importance: | Undecided → High |
assignee: | MOS Packaging Team (mos-packaging) → Alexey Lebedeff (alebedev-a) |
milestone: | none → 9.1 |
status: | New → Confirmed |
tags: | added: area-mos |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
tags: | added: rabbitmq |
tags: | added: on-verification |
Reviewed: https:/ /review. openstack. org/355477 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=b9cb86a51fc 1f6036b9fd6ef41 7dad48f705776f
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit b9cb86a51fc1f60 36b9fd6ef417dad 48f705776f
Author: Alexey Lebedeff <email address hidden>
Date: Mon Aug 22 14:30:12 2016 +0300
Monitor rabbitmq from OCF with less overhead
This will stop wasting network bandwidth for monitoring.
E.g. a 200-node OpenStack installation produces aronud 10k queues and list_channels in cluster in this
10k channels. Doing single list_queues/
environment results in 27k TCP packets and around 12 megabytes of
network traffic. Given that this calls happen ~10 times a minute with 3
controllers, it results in pretty significant overhead.
Upstream change: /github. com/rabbitmq/ rabbitmq- server/ pull/916
- https:/
To enable those features you shoud have rabbitmq containing following patches: /github. com/rabbitmq/ rabbitmq- server/ pull/883 /github. com/rabbitmq/ rabbitmq- server/ pull/911 /github. com/rabbitmq/ rabbitmq- server/ pull/915
- https:/
- https:/
- https:/
Change-Id: Icfde3360b42a84 1ad3a219b94f65a 69b2a18cea7
Closes-Bug: 1614071