Skip to content

The admin user isn't created with the correct password #12

@simonpasquier

Description

@simonpasquier

I can't access the RabbitMQ admin API using the admin credentials while it's working with the guest creds.

# salt 'ctl01*' pillar.items rabbitmq
[snip]
        server:
            ----------
            admin:
                ----------
                name:
                    admin
                password:
                    workshop
[snip]
root@ctl01:~# /root/rabbitmqadmin --host=172.16.10.101 --username=guest --password=guest list users
+-----------+--------------------------------+--------------------------------------------------+--------------------------+
|   name    |       hashing_algorithm        |                  password_hash                   |           tags           |
+-----------+--------------------------------+--------------------------------------------------+--------------------------+
| admin     | rabbit_password_hashing_sha256 | wH2UxYjW8HGxAo5ZaUd4cG3Kl1dx5vfxpYfYw2gXSbSgS3my | management administrator |
| guest     | rabbit_password_hashing_sha256 | V2obX8gwcm6veIBsPt60LE1Hyum/kWuqA+/5OTtq2qn7fx4A | administrator            |
| openstack | rabbit_password_hashing_sha256 | 4MHEHvbOL1uvjxaxoloTgowBN7KndPn+BynUMHGwuHUgClCX |                          |
+-----------+--------------------------------+--------------------------------------------------+--------------------------+
root@ctl01:~# /root/rabbitmqadmin --host=172.16.10.101 --username=admin --password=workshop list users
*** Access refused: /api/users
root@ctl01:~# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions