Skip to content

[Topology operator: queue creation ] Error: API responded with a 401 Unauthorized #300

Discussion options

You must be logged in to vote

I found the reason was that I had defined a custom default user:

apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
    name: rabbitmq
    namespace: rabbitmq-system
    annotations:
      rabbitmq.com/topology-allowed-namespaces: "*"
spec:
  rabbitmq:
    additionalPlugins:
      - rabbitmq_mqtt
      - rabbitmq_management
    additionalConfig: |
      default_user = guest
      default_pass = guest

It was like the operator was using another user to make it's configuration. I removed it and it worked.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChunyiLyu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant