RMQ: enable all stable feature flags at once
Also enable these after an upgrade. Partial-Bug: #2058512 Change-Id: Ib9bdae2e25c2b6cce30e4c8024015ab5875bc1ff
This commit is contained in:
parent
b382471d02
commit
223556e4e2
@ -64,7 +64,7 @@
|
|||||||
include_role:
|
include_role:
|
||||||
name: rabbitmq
|
name: rabbitmq
|
||||||
tasks_from: post-deploy.yml
|
tasks_from: post-deploy.yml
|
||||||
when: kolla_action in ['deploy', 'reconfigure']
|
when: kolla_action in ['deploy', 'reconfigure', 'upgrade']
|
||||||
vars:
|
vars:
|
||||||
role_rabbitmq_cluster_cookie: '{{ rabbitmq_cluster_cookie }}'
|
role_rabbitmq_cluster_cookie: '{{ rabbitmq_cluster_cookie }}'
|
||||||
role_rabbitmq_groups: rabbitmq
|
role_rabbitmq_groups: rabbitmq
|
||||||
|
@ -97,21 +97,4 @@ rabbitmq_plugins:
|
|||||||
|
|
||||||
rabbitmq_enabled_plugins: "{{ rabbitmq_plugins | selectattr('enabled', 'equalto', true) | list }}"
|
rabbitmq_enabled_plugins: "{{ rabbitmq_plugins | selectattr('enabled', 'equalto', true) | list }}"
|
||||||
|
|
||||||
rabbitmq_feature_flags:
|
|
||||||
- "quorum_queue"
|
|
||||||
- "implicit_default_bindings"
|
|
||||||
- "virtual_host_metadata"
|
|
||||||
- "maintenance_mode_status"
|
|
||||||
- "user_limits"
|
|
||||||
- "stream_queue"
|
|
||||||
- "classic_queue_type_delivery_support"
|
|
||||||
- "tracking_records_in_ets"
|
|
||||||
- "stream_single_active_consumer"
|
|
||||||
- "listener_records_in_ets"
|
|
||||||
- "feature_flags_v2"
|
|
||||||
- "direct_exchange_routing_v2"
|
|
||||||
- "classic_mirrored_queue_version"
|
|
||||||
- "stream_sac_coordinator_unblock_group"
|
|
||||||
- "restart_streams"
|
|
||||||
|
|
||||||
kolla_externally_managed_cert: False
|
kolla_externally_managed_cert: False
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: Enable feature flags
|
- name: Enable all stable feature flags
|
||||||
kolla_toolbox:
|
command: "{{ kolla_container_engine }} exec rabbitmq rabbitmqctl enable_feature_flag all"
|
||||||
container_engine: "{{ kolla_container_engine }}"
|
|
||||||
module_name: "community.rabbitmq.rabbitmq_feature_flag"
|
|
||||||
module_args:
|
|
||||||
name: "{{ item }}"
|
|
||||||
user: root
|
|
||||||
become: true
|
become: true
|
||||||
loop: "{{ rabbitmq_feature_flags }}"
|
changed_when: false
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
All stable RabbitMQ feature flags are now enabled during deployments,
|
||||||
|
reconfigures, and upgrades. As such, the variable
|
||||||
|
``rabbitmq_feature_flags`` is no longer required. This is a partial fix to
|
||||||
|
RabbitMQ SLURP support.
|
||||||
|
`LP#2049512 <https://launchpad.net/bugs/2058512>`__
|
Loading…
Reference in New Issue
Block a user