1a9074c59084e122d5c0bb6416ee91c8b286a6d3
During migration to Quorum queues we have renamed vhosts
to not contain leading slash for them. However, some services
at the same time were configured not to have RPC messaging,
but only notifications whenever needed - like keystone, glance, etc.
This left such vhosts still containing HA policy on them, leading
to RabbitMQ upgrade failures with:
```
rabbitmq-server[2934794]: Application rabbit exited with reason:
{{failed_to_deny_deprecated_features,[classic_queue_mirroring]},{rabbit,start,[normal,[]]}}
```
This patch implements a check of deprecated feature flags and
disables all HA policies across the board before upgrade happens.
As we don't want to force removal when running RabbitMQ 3.13,
the removal is enforced only during upgrade to 4.0.
Conditions are maintained on a task level rather then a block
to make it extendable with other deprecated flags in the future.
Change-Id: I372421e0347687a1d861b548fd20ee92b150c301
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
OpenStack-Ansible RabbitMQ server
Ansible role to install OpenStack RabbitMQ server.
- Documentation for the project can be found at:
-
https://docs.openstack.org/openstack-ansible-rabbitmq_server/latest/
- Release notes for the project can be found at:
-
https://docs.openstack.org/releasenotes/openstack-ansible-rabbitmq_server/
- The project source code repository is located at:
-
https://opendev.org/openstack/openstack-ansible-rabbitmq_server/
- The project home is at:
- The project bug tracker is located at:
Description
Languages
Python
69.3%
Jinja
30.1%
Shell
0.6%