Skip to content

rabbitmqctl shovel_status does not show running shovels #14295

@zaeemarshad

Description

@zaeemarshad

Describe the bug

Versions: RabbitMQ 4.1.2 with Erlang 27.2.4
OS: Debian Bookworm

rabbitmqctl shovel_status doesn't list shovels. Provide the node and querying all nodes in the cluster doesn't produce anything. The shovels are present and show up if the module is queried directly.

rabbitmqctl eval 'rabbit_shovel_status:cluster_status().'
[{{<<"cell">>,<<"cell-global-bmp-internal-shovel-bmp-platform">>},
  dynamic,
  {running,[{src_uri,<<"amqp:///cell">>},
            {src_protocol,<<"amqp091">>},
            {dest_protocol,<<"amqp091">>},
            {dest_uri,<<"amqp://rabbit-store-uno.service.int-us-central1.consul/bmp">>},
            {src_queue,<<"internal_us-central1">>},
            {dest_exchange,<<"internal">>},
            {blocked_status,running}]},
  #{pending => 0,remaining => unlimited,remaining_unacked => unlimited,
    forwarded => 0},
  {{2025,7,22},{4,36,52}}},

 ...snip...
  {{2025,7,22},{4,36,54}}}]

but no output from shovel_status

$ sudo rabbitmqctl shovel_status
Shovel status on node rabbit@rabbitmq-store-uno-cj9q
[integration][us-central1][zaeem.arshad@rabbitmq-store-uno-cj9q]:~$ sudo rabbitmqctl shovel_status --formatter json
[
]
[integration][us-central1][zaeem.arshad@rabbitmq-store-uno-cj9q]:~$ sudo rabbitmqctl shovel_status --formatter erlang
Shovel status on node rabbit@rabbitmq-store-uno-cj9q
[]

Reproduction steps

...

Expected behavior

Expect the shovels to be listed by this command

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions