kolla-ansible/ansible/roles/cyborg/templates
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
..
cyborg-agent.json.j2 Add cyborg to kolla-ansible 2019-03-08 10:46:53 +08:00
cyborg-api-paste.ini.j2 Modify api-paste.ini v1 to v2 for cyborg 2020-05-18 23:41:02 +08:00
cyborg-api.json.j2 Add cyborg to kolla-ansible 2019-03-08 10:46:53 +08:00
cyborg-conductor.json.j2 Add cyborg to kolla-ansible 2019-03-08 10:46:53 +08:00
cyborg.conf.j2 enable quorum queues 2023-11-30 13:53:00 +00:00