Unbalanced cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack RabbitMQ Server Charm |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Charmed rabbitmq does not configure queue_master_
This leads to often unbalanced clusters with queue masters concentrated on one node. That node would have to handle most of the connections and have high load in cpu and memory, and at the time when that node is down, a majority of queue masters would have to be moved, putting even more pressure on the cluster.
Configuring queue_master_
The rabbitmqctl_report file is attached for reference.
# Queue masters are mostly on 11-lxd-8
> cat rabbitmqctl_report | awk -F'\t' '/^Queues on openstack/ {a=1}; a && /rabbit/ {split($1,s,"."); b[s[1]]++}; NF==0 {a=0}; END {for(i in b) {print i, b[i]}}'
<rabbit@
<rabbit@
<rabbit@
# Most connections are made to 11-lxd-8
> cat rabbitmqctl_report| awk -F'\t' '/^Connections/ {a=1}; a && /rabbit/ {split($1,s,"."); b[s[1]]++}; NF==0 {a=0}; END {for(i in b) {print i, b[i]}}'
<rabbit@
<rabbit@
<rabbit@
# 11-lxd-8 uses the most memory
> cat rabbitmqctl_report| awk '/^Status/ {a=1; print}; a && /total,/; !NF {a=0}'
Status of node 'rabbit@
[{
Status of node 'rabbit@
[{
Status of node 'rabbit@
[{
tags: | added: sts |
Changed in charm-rabbitmq-server: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in charm-rabbitmq-server: | |
assignee: | nobody → Felipe Reyes (freyes) |
Changed in charm-rabbitmq-server: | |
assignee: | Felipe Reyes (freyes) → nobody |
Patch: https:/ /review. opendev. org/#/c/ 745618/