need configure the policy in the rabbitmq
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Critical
|
Jeffrey Zhang | ||
Liberty |
Fix Released
|
Critical
|
Jeffrey Zhang | ||
Mitaka |
Fix Released
|
Critical
|
Jeffrey Zhang |
Bug Description
Currently, Kolla just use the oslo.messaging rabbitmq ha configure
and do not config the rabbitmq by set_policy. But after rabbitmq 3.0
this do not work.
see this [0]
Mirror queue policies
What changed? In RabbitMQ 3.0, queue mirroring is no longer controlled by the x-ha-policy argument when declaring a queue. Your applications can continue to declare this argument, but it won't cause queues to be mirrored. Instead you can declare one or more policies which control which queues are mirrored, and how.
Why did it change? As anyone who's used mirrored queues will tell you, requiring applications to know which queues are mirrored is a pain. The new approach puts configuration in the broker, where it belongs, and also supports changing mirroring policy at any time.
What should I do? You need to make sure your queues are still mirrored. For the full documentation see here, but if you just want to make sure that all queues (except those with auto-generated names) are mirrored across all nodes, run:
rabbitmqctl set_policy HA '^(?!amq\.).*' '{"ha-mode": "all"}'
and this [1]
[0] http://
[1] https:/
Changed in kolla: | |
milestone: | none → newton-1 |
assignee: | nobody → Jeffrey Zhang (jeffrey4l) |
importance: | Undecided → Critical |
Changed in kolla: | |
status: | New → Confirmed |
Changed in kolla: | |
status: | Confirmed → In Progress |
Fix proposed to branch: master /review. openstack. org/315380
Review: https:/