Admin user access issue #952
Replies: 2 comments
-
RabbitMQ configures the default username, password and tags during the first time it starts up, when it forms its internal database. Looking at any events that occurred before the password stopped working would help to determine what may have happened. |
Beta Was this translation helpful? Give feedback.
-
@sujithpaily For user management in RMQ in k8s, we generally recommend using the Messaging Topology Operator and create You can also import definitions if that fits your use case: https://github.com/rabbitmq/cluster-operator/tree/main/docs/examples/import-https-url-definition If you have to set credentials for the default user, you can create a default user secret first with the expected username and password before you create the rabbitmqcluster. For example, if your rabbitmqcluster name is apiVersion: v1
kind: Secret
metadata:
name: sample-default-user
type: Opaque
stringData:
username: guest-user
password: guest-pass
default_user.conf: |
default_user = guest-user
default_pass = guest-pass Then you can create the rabbitmqcluster. There is no need to set the username&password in the rmq manifest with this approach. |
Beta Was this translation helpful? Give feedback.
-
I have deployed a RabbitMQ in EKS using cluster operator. It was working fine and suddenly I noticed admin login not working and it was showing error
HTTP access denied and No administrator tags
The admin user was added via following configuration(not the default user)
Beta Was this translation helpful? Give feedback.
All reactions