containers icon indicating copy to clipboard operation
containers copied to clipboard

[RabbitMQ] Admin user creation only works if user is "guest"

Open claireleray-poclain opened this issue 2 years ago • 3 comments

Name and Version

bitnami/rabbitmq:3.10.7-debian-11-r11

What steps will reproduce the bug?

I'm installing the 10.3.5 Helm release with the values.yaml file pasted below.

What is the expected behavior?

RabbitMQ should start, with a created admin user with login 'user' and password 'password'.

What do you see instead?

The user created is guest/guest. If I use "guest" as the login in my values.yaml file, then the user created is guest/password. I have tried deleted the PVC associated with RabbitMQ, to no avail.

Additional information

values.yaml

auth:
  username: user 
  password: password

service:
  type: LoadBalancer
  
replicaCount: 1

image:
  debug: true

ingress:
  enabled: true
  hostname: ${INGRESS_HOST_ADMIN}
  path: /rabbitmq(/|$)(.*)
  pathType: Prefix
  annotations: 
    nginx.ingress.kubernetes.io/rewrite-target: "/$$2" # $ is escaped with $$

configuration: |-
  ## Delivery acknowledgment timeout set to 2 hours
  consumer_timeout = 7200000

claireleray-poclain avatar Sep 16 '22 08:09 claireleray-poclain

Hi @claireleray-poclain ,

The error is due to the configuration part. Try with this values.yaml:

auth:
  username: user 
  password: password

service:
  type: LoadBalancer
  
replicaCount: 1

image:
  debug: true

ingress:
  enabled: true
  hostname: ${INGRESS_HOST_ADMIN}
  path: /rabbitmq(/|$)(.*)
  pathType: Prefix
  annotations: 
    nginx.ingress.kubernetes.io/rewrite-target: "/$$2" # $ is escaped with $$

dgomezleon avatar Sep 20 '22 11:09 dgomezleon

Hi @dgomezleon,

It does work without the configuration part. How can I still handle the consumer_timeout modification then ?

Best, Claire

claireleray-poclain avatar Sep 20 '22 12:09 claireleray-poclain

As explained here, you should use:

extraConfiguration: |-
  ## Delivery acknowledgment timeout set to 2 hours
  consumer_timeout = 7200000

dgomezleon avatar Sep 21 '22 11:09 dgomezleon

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] avatar Oct 07 '22 02:10 github-actions[bot]

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

github-actions[bot] avatar Oct 13 '22 01:10 github-actions[bot]