Node runs into an exception failed_to_deny_deprecated_features on boot when try to deactivate deprecated feature #12793
-
Describe the bugHi, I migrate my rabbit cluster from 4.0.3 to 4.0.4. I try to disable the transient_nonexcl_queues feature adding on /etc/rabbitmq/rabbitmq.conf this line deprecated_features.permit.transient_nonexcl_queues = false when restart the node get this error:
Is the procedure I am following to disable the deprecated feature correct? I attach dump Reproduction stepsMake rolling upgrade from 4.0.3 to 4.0.4 Expected behaviorRabbitmq start correctly Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
I cannot reproduce: # deprecated.features.disable.conf
deprecated_features.permit.transient_nonexcl_queues = false RABBITMQ_CONFIG_FILE=/path/to/deprecated.features.disable.conf ./sbin/rabbitmq-server Evidence of effectively applied settings:
rabbitmq-diagnostics status
# => /path/to/configs/deprecated.features.disable.conf This is not an upgrade. The error, |
Beta Was this translation helpful? Give feedback.
-
Hi, I not use classic queues on my config has: This param disable creation of classic queues, correct? How to show classic non-exclusive queues on cluster? Thanks |
Beta Was this translation helpful? Give feedback.
-
I review all queues on my cluster and all queues are quorum queues or rabbit_mqtt_qos0_queue ... |
Beta Was this translation helpful? Give feedback.
-
@fernandomacho I cannot suggest much without a definition import file and logs at debug level.
Assuming that there are some durable CQs, the node works as expected: it detects that a feature you have disabled is used, and the node refuses to boot. This is by design. So the only open ended question is whether the "feature in use" detection works correctly. We cannot answer that question without a definition file (you are welcome to edit out users and alter sensitive names in it, of course). |
Beta Was this translation helpful? Give feedback.
-
Hi, I attach file. This file contain: Looking at the log, I can't really find why I'm using the transient_nonexcl_queues flag. Thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
Looks like that feature flag filters out queues with the wrong characteristic. Ignore the warning and remove |
Beta Was this translation helpful? Give feedback.
-
Addressed in #12840 by @mkuratczyk. |
Beta Was this translation helpful? Give feedback.
Addressed in #12840 by @mkuratczyk.