[kolla-ansible][rabbitmq] Change to quorum queue
Hi community o/ I've got a little confused about the procedure[1] to change the type of queues to quorum queues. The documentation says that it is needed to stop the services that use Rabbit, but in some tasks in `genconfig` step, some APIs must be up, for example, in[2]. I think the documentation is not too clear, or I just missed something. So, I need to stop services and turn on the APIs? Will it affect the procedure of changing the queue type from classic to quorum? Another question is: when upgrading from Antelope to Caracal, is this procedure mandatory? [1] https://docs.openstack.org/kolla-ansible/latest/reference/message-queues/rab... [2] https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/octavia...
Hi Winicius, Thanks for raising this. You're right, we should re-order those instructions to generate configuration first. I've raised a patch for this: https://review.opendev.org/c/openstack/kolla-ansible/+/948428 The procedure isn't strictly mandatory for A->C, but if you don't want them you'll need to disable quorum queues in Caracal by setting om_enable_rabbitmq_quorum_queues: false. However, I'd strongly recommend against this as quorum queues make using RabbitMQ much more robust. Cheers, Matt On Mon, 28 Apr 2025 at 22:33, Winicius Allan <winiciusab12@gmail.com> wrote:
Hi community o/
I've got a little confused about the procedure[1] to change the type of queues to quorum queues. The documentation says that it is needed to stop the services that use Rabbit, but in some tasks in `genconfig` step, some APIs must be up, for example, in[2]. I think the documentation is not too clear, or I just missed something.
So, I need to stop services and turn on the APIs? Will it affect the procedure of changing the queue type from classic to quorum?
Another question is: when upgrading from Antelope to Caracal, is this procedure mandatory?
[1] https://docs.openstack.org/kolla-ansible/latest/reference/message-queues/rab... [2] https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/octavia...
Hi Matt, Thanks for your reply, this make things much clear now. Regards. On Tue, Apr 29, 2025, 09:27 Matt Crees <mattc@stackhpc.com> wrote:
Hi Winicius,
Thanks for raising this. You're right, we should re-order those instructions to generate configuration first. I've raised a patch for this: https://review.opendev.org/c/openstack/kolla-ansible/+/948428
The procedure isn't strictly mandatory for A->C, but if you don't want them you'll need to disable quorum queues in Caracal by setting om_enable_rabbitmq_quorum_queues: false. However, I'd strongly recommend against this as quorum queues make using RabbitMQ much more robust.
Cheers, Matt
On Mon, 28 Apr 2025 at 22:33, Winicius Allan <winiciusab12@gmail.com> wrote:
Hi community o/
I've got a little confused about the procedure[1] to change the type of queues to quorum queues. The documentation says that it is needed to stop the services that use Rabbit, but in some tasks in `genconfig` step, some APIs must be up, for example, in[2]. I think the documentation is not too clear, or I just missed something.
So, I need to stop services and turn on the APIs? Will it affect the procedure of changing the queue type from classic to quorum?
Another question is: when upgrading from Antelope to Caracal, is this procedure mandatory?
[1] https://docs.openstack.org/kolla-ansible/latest/reference/message-queues/rab... [2] https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/octavia...
participants (2)
-
Matt Crees
-
Winicius Allan