docker-library / rabbitmq

Docker Official Image packaging for RabbitMQ
http://www.rabbitmq.com/
MIT License
780 stars 412 forks source link

Failed to upgrade Rabbitmq from 3.10.8 to 3.12.3 #661

Closed yaniv1988 closed 1 year ago

yaniv1988 commented 1 year ago

We are having a Rabbitmq 3.10.8 cluster setup and now we plan to upgrade to Rabbitmq 3.12.3 using rabbitmq:3.12.3-management-alpine docker image.

Post upgrade, the node fails to start with the error "Feature flags: classic_queue_type_delivery_support: required feature flag not enabled! It must be enabled before upgrading RabbitMQ."

I am aware that direct upgrade is not possible as mentioned in https://www.rabbitmq.com/feature-flags.html and we have to do an intermediate upgrade to 3.11 and manually enable the necessary feature flags and then upgrade to 3.12.3

Even if I do intermediate upgrade to 3.11 and enable feature flags in Management UI, it is enabling it on one particular node and not on all the nodes in the cluster. As a result, next upgrade to 3.12 fails with same error.

Please suggest an easier way to do the upgrade.