Ask Your Question
0

Unable to access Horizon dashboard: Unauthorized at /admin/

asked 2015-09-18 00:36:19 -0500

fhussain gravatar image

updated 2015-09-18 00:37:20 -0500

Hi,

I have succesfully installed OpenStack Juno via devstack. All the services are running without any issue and I can perform any task successfully via command-line. However, I cannot access the dashboard. I see this error when logging into the dashboard:

{"error": {"message": "Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.", "code": 400, "title": "Bad Request"}}

What could be the reason for that?

Thanks.

edit retag flag offensive close merge delete

Comments

1

Through command line check if all the required services are running, also check if rabbitmq-server, keystone-service is up and running many times it doesn't start properly, also browse your database and check username in keystone DB.

soumitrakarmakar gravatar imagesoumitrakarmakar ( 2015-09-18 00:51:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-18 01:27:19 -0500

fhussain gravatar image

I was missing to source the self-created admin-openrc.sh file with admin credentials

export OS_USERNAME=admin
export OS_PASSWORD=admin_pass
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://localhost:35357/v2.0

Now, it works fine.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-18 00:36:19 -0500

Seen: 818 times

Last updated: Sep 18 '15