#TIL

Ich brauche hier für eine #RabbitMQ vermutlich das federation plugin. #RabbitMQ läuft in einem #Docker Container.
Also flugs in den #Docker Container gesprungen:
$ rabbitmq-plugins list

Bäm: Error: Only root or rabbitmq can run rabbitmq-plugins

Also

$ id
uid=42439(rabbitmq) gid=42439(rabbitmq) groups=42439(rabbitmq),42400(kolla)

Hä?

Also mal reingeschaut
$ cat $(which rabbitmq-plugins) (1/2)

Joa, das geht dann als rabbitmq gar nicht, sondern nur als root und das sieht der Container IMHO nicht vor.

https://www.freekb.net/Article?id=3655 hat dann die Lösung gebracht, ist ein bekannter Bug. Folgendes funktioniert:

$ /usr/lib/rabbitmq/bin/rabbitmq-plugins list

Ja, neee - is klar. (2/2)

FreeKB

my Interwebs Free Knowledge Base

@Kaffee_Junkie42 I've tried with Docker (rancher desktop) and Kubernetes - in both cases it works without issues for me. Also, the `rabbitmq` image puts the command in `/opt/rabbitmq/` so if you have it in `/usr/lib` you are using some other image. I'm happy to help but we would need some reproduction steps.

@kura Oh, hi!
Thanks a lot. 🤩
It’s true, that could well be down to the image; I hadn’t thought of that. 😬

The image comes from the kolla-ansible ( #OpenStack).
Perhaps there’s also a bug in the image; the version I’ve used here isn’t the very latest one. 😇

But I'm in the process of changing that and updating to a newer version of #OpenStack. This also brings new images with new versions.