Replies: 8 comments 8 replies
-
We're using bitnami/rabbitmq:3.13.1-debian-12-r0 in kubernetes with the bitnami helm chart. |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for using RabbitMQ and taking the time to report this. Could you please provide more information so I can reproduce this issue?
|
Beta Was this translation helpful? Give feedback.
-
This was not reported elsewhere (that I've seen), so while this function can simply be made does_policy_configure_cmq(KeyList) ->
lists:keymember(<<"ha-mode">>, 1, KeyList). it would be great to have a way to reproduce this with your actual policies and queues (see our recommendations above). |
Beta Was this translation helpful? Give feedback.
-
Hold on, I understand what the problem is. does_policy_configure_cmq(KeyList) ->
lists:keymember(<<"ha-mode">>, 1, KeyList). works perfectly fine with missing keys as long as |
Beta Was this translation helpful? Give feedback.
-
Export appears to be broken. We only get this partial response. I voted for the operator if that helps haha.
|
Beta Was this translation helpful? Give feedback.
-
#11193 should avoid the exception. |
Beta Was this translation helpful? Give feedback.
-
Deleting the policies fixes the issue.
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
We had some mirroring queues when I upgraded to rabbitmq 3.13.1, so I deleted those policies but now this api call fails. We have a banner that says "Management API returned status code 500 -"
Running
rabbitmqctl check_if_any_deprecated_features_are_used
also returns a crash dump.Reproduction steps
The feature was working right after the upgrade, correctly listing that we were using mirroring. I deleted those policies and that seems to have introduced this problem.
Expected behavior
The api and command should continue to work.
Additional context
rabbitmqctl check_if_any_deprecated_features_are_used
Checking if any deprecated features are used ...
Error:
{:badarg, [{:lists, :keymember, ["ha-mode", 1, %{"message-ttl" => 604800000}], [error_info: %{module: :erl_stdlib_errors}]}, {:rabbit_mirror_queue_misc, :does_policy_configure_cmq, 1, [file: ~c"rabbit_mirror_queue_misc.erl", line: 1014]}, {:lists, :any_1, 2, [file: ~c"lists.erl", line: 1543]}, {:rabbit_mirror_queue_misc, :are_cmqs_used1, 0, [file: ~c"rabbit_mirror_queue_misc.erl", line: 997]}, {:rabbit_mirror_queue_misc, :are_cmqs_used, 1, []}]}
Beta Was this translation helpful? Give feedback.
All reactions