kolla-ansible/ansible/roles/prechecks/tasks
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
..
check.yml Enable sanity checks from kolla-ansible 2017-03-09 10:37:06 +00:00
database_checks.yml Rename role haproxy to loadbalancer 2021-08-19 21:20:33 +02:00
datetime_checks.yml Use ansible_facts to reference facts 2021-06-23 10:38:06 +01:00
host_os_checks.yml Merge "host_os: Use assert on checks for readability" 2023-02-17 08:39:24 +00:00
inventory_checks.yml loadbalancer: Use assert on checks for readability 2023-01-09 21:47:10 +01:00
main.yml Fix var-spacing 2022-07-25 22:15:15 +02:00
package_checks.yml Merge "ansible: Use assert on checks for readability" 2023-02-17 08:55:31 +00:00
port_checks.yml Use ansible_facts to reference facts 2021-06-23 10:38:06 +01:00
service_checks.yml enable quorum queues 2023-11-30 13:53:00 +00:00
timesync_checks.yml Fix prechecks in check mode 2023-01-12 14:27:36 +00:00
user_checks.yml Fix prechecks in check mode 2023-01-12 14:27:36 +00:00