NOT_ALLOWED – access to vhost ‘/’ refused for user ‘openstack’

During the initial setup you might run into two errors

1. NOT_ALLOWED – access to vhost ‘/’ refused for user ‘openstack’
2.Error: “badarg”

When setting up the initial user called openstack you might receive like below example:

# rabbitmqctl set_permissions “openstack” “.*” “.*” “.*”
Error: “badarg”

The error means the permissions failed and the user openstack will not be able to login to the controller node.

The fix is simple by removing the permissions and user and adding them again like example below

# rabbitmqctl clear_permissions “openstack”
# rabbitmqctl delete_user ‘openstack’
# rabbitmqctl add_user ‘openstack’ ‘password’
# rabbitmqctl set_permissions “openstack” “.*” “.*” “.*”

The Error: “badarg” didn’t occur the second time and the problem is resolved.

You should now see the correct rights typing the below command

# rabbotmqctl list_users

 


Go to Source of this post
Author Of this post:
Title Of post:

NOT_ALLOWED – access to vhost ‘/’ refused for user ‘openstack’

Author Link: {authorlink}