RabbitMQ 3.x queues are not synchronized

Bug #1296922 reported by Dmitry Borodaenko on 2014-03-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Medium
Dmitry Borodaenko

Bug Description

Even though OpenStack creates all queues synchronized across all controller nodes, after RabbitMQ is restarted on a node, queues are no longer synchronized to that node.

See comments #40-#45 in https://bugs.launchpad.net/fuel/+bug/1285449 for more details.

Update: the problem is only present with RabbitMQ 3.x.

Changed in fuel:
milestone: none → 5.0
tags: added: backports-4.1.1
Dmitry Borodaenko (angdraug) wrote :

Correction: the above only occurs with RabbitMQ 3.2.4, downgrading back to RabbitMQ 2.8 causes the queues to synchronize immediately after failback.

Changed in fuel:
importance: Critical → Medium
tags: removed: backports-4.1.1
Dmitry Borodaenko (angdraug) wrote :
summary: - RabbitMQ queues are not synchronized after failback
+ RabbitMQ 3.x queues are not synchronized
Dmitry Borodaenko (angdraug) wrote :

Running the following command on one controller is enough to ensure all queues are mirrored:
rabbitmqctl set_policy HA . '{"ha-mode": "all"}'

description: updated
Changed in fuel:
status: Confirmed → Triaged
Dmitry Borodaenko (angdraug) wrote :

This problem is addressed as part of this change:
https://review.openstack.org/#/q/Iee79f14929e9f1ac5e5e7dd07aee37f641d3b2a8,n,z

The fix for 5.0 was merged and backport of the fix for 4.1.1 is currently under review.

tags: added: backports-4.1.1
Changed in fuel:
status: Triaged → In Progress
milestone: 5.0 → 4.1.1
Bogdan Dobrelya (bogdando) wrote :

Currently we have this ha-policy mode in the Rabbit's (v3) init.d script. Is it enough? What the status of this issue now?

Dmitry Borodaenko (angdraug) wrote :

As you can see from the link in my previous comment, the backport of that change to stable/4.1 hasn't been merged yet.

Changed in fuel:
status: In Progress → Fix Committed
Mike Scherbakov (mihgen) on 2014-05-08
tags: added: release-notese
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers