kolla-ansible/releasenotes/notes/make-quorum-queues-usable-552bfb2e8975f83f.yaml
Sven Kieske 64575519aa enable quorum queues
This implements a global toggle `om_enable_rabbitmq_quorum_queues`
to enable quorum queues for each service in RabbitMQ, similar to
what was done for HA[0].

Quorum Queues are enabled by default.

Quorum queues are more reliable, safer, simpler and faster than
replicated mirrored classic queues[1].

Mirrored classic queues are deprecated and scheduled for removal
in RabbitMQ 4.0[2].

Notice, that we do not need a new policy in the RabbitMQ definitions
template, because their usage is enabled on the client side and can't
be set using a policy[3].

Notice also, that quorum queues are not yet enabled in oslo.messaging
for the usage of reply_ and fanout_ queues (transient queues).
This will change once[4] is merged.

[0]: https://review.opendev.org/c/openstack/kolla-ansible/+/867771
[1]: https://www.rabbitmq.com/quorum-queues.html
[2]: https://blog.rabbitmq.com/posts/2021/08/4.0-deprecation-announcements/
[3]: https://www.rabbitmq.com/quorum-queues.html#declaring
[4]: https://review.opendev.org/c/openstack/oslo.messaging/+/888479

Signed-off-by: Sven Kieske <kieske@osism.tech>
Change-Id: I6c033d460a5c9b93c346e9e47e93b159d3c27830
2023-11-30 13:53:00 +00:00

19 lines
840 B
YAML

---
features:
- |
You can now enable the usage of quorum queues in RabbitMQ for all services
by setting the variable ``om_enable_rabbitmq_quorum_queues`` to ``true``.
Notice that you can't use quorum queues and high availability at the same
time. This is caught by a precheck.
This feature is enabled by default to improve reliability of the messaging
queues.
upgrade:
- |
Quorum queues in RabbitMQ (controlled by
``om_enable_rabbitmq_quorum_queues`` variable) is enabled by default from
now on.
Support for non-HA RabbitMQ queues is dropped. Either quorum queues that
are enabled by default, or classic mirrored queues are required now.
`Migration procedure from non-HA to HA
<https://docs.openstack.org/kolla-ansible/zed/reference/message-queues/rabbitmq.html#high-availability>`__