Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/rabbitmq] Username or password cannot contains char '.' #25652

Open
yeahfo opened this issue May 9, 2024 · 1 comment
Open

[bitnami/rabbitmq] Username or password cannot contains char '.' #25652

yeahfo opened this issue May 9, 2024 · 1 comment
Assignees
Labels
on-hold Issues or Pull Requests with this label will never be considered stale rabbitmq tech-issues The user has a technical issue about an application

Comments

@yeahfo
Copy link

yeahfo commented May 9, 2024

Name and Version

bitnami/rabbitmq 14.1.2

What architecture are you using?

amd64

What steps will reproduce the bug?

Username or password cannot contain char .

What do you see instead?

My yaml helmfile

repositories:
  - name: bitnami
    url: https://charts.bitnami.com/bitnami
releases:
  - name: test-rabbitmq
    chart: bitnami/rabbitmq
    version: 14.1.2
    values:
      - image:
          registry: registry-1.docker.io
      - auth:
          username: rabbit.user
          password: rabbit.pass
      - extraEnvVars:
          - name: RABBITMQ_MANAGEMENT_ALLOW_WEB_ACCESS
            value: 'true'
      - persistence:
          enabled: false
$ kubectl describe po test-rabbitmq-0 
......................
Events:
  Type     Reason     Age   From               Message
  ----     ------     ----  ----               -------
  Normal   Scheduled  55s   default-scheduler  Successfully assigned default/test-rabbitmq-0 to worker230
  Normal   Pulled     50s   kubelet            Container image "registry-1.docker.io/bitnami/rabbitmq:3.13.2-debian-12-r0" already present on machine
  Normal   Created    50s   kubelet            Created container prepare-plugins-dir
  Normal   Started    49s   kubelet            Started container prepare-plugins-dir
  Normal   Pulled     46s   kubelet            Container image "registry-1.docker.io/bitnami/rabbitmq:3.13.2-debian-12-r0" already present on machine
  Normal   Created    46s   kubelet            Created container rabbitmq
  Normal   Started    46s   kubelet            Started container rabbitmq
  Warning  Unhealthy  24s   kubelet            Readiness probe failed:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (7) Failed to connect to 127.0.0.1 port 15672 after 0 ms: Couldn't connect to server
$ kubectl exec -i test-rabbitmq-0 -- curl -f --user rabbit.user:rabbit.pass 127.0.0.1:15672/api/health/checks/local-alarms

Defaulted container "rabbitmq" out of: rabbitmq, prepare-plugins-dir (init)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (7) Failed to connect to 127.0.0.1 port 15672 after 1 ms: Couldn't connect to server
command terminated with exit code 7
@yeahfo yeahfo added the tech-issues The user has a technical issue about an application label May 9, 2024
@github-actions github-actions bot added the triage Triage is needed label May 9, 2024
@github-actions github-actions bot removed the triage Triage is needed label May 13, 2024
@github-actions github-actions bot assigned alemorcuq and unassigned carrodher May 13, 2024
@alemorcuq
Copy link
Member

The issue seems to be the username, as the container refuses to start when the user contains a ..

...
2024-05-14 07:51:10.687462+00:00 [error] <0.156.0> Error preparing configuration in phase transform_datatypes:
2024-05-14 07:51:10.687514+00:00 [error] <0.156.0>   - Conf file attempted to set unknown variable: loopback_users.rabbit.user
...

Thanks for reporting this. I've created an internal task to address it.

@alemorcuq alemorcuq added the on-hold Issues or Pull Requests with this label will never be considered stale label May 14, 2024
@yeahfo yeahfo changed the title Username or password cannot contains char '.' [bitnami/rabbitmq] Username or password cannot contains char '.' May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold Issues or Pull Requests with this label will never be considered stale rabbitmq tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

3 participants