Ask Your Question
0

Unable to login to dashboard

asked 2014-05-29 07:08:43 -0500

Nikhil Bedare gravatar image

updated 2014-05-29 07:11:50 -0500

Hi, I am installing the openstack for the first time. I have followed all the steps in the document. All the services seem to be working fine. However, when I try to login to dashboard, I get the error as "Invalid username or password".

[root@controller ~]#  keystone user-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+--------+---------+--------------------------+
|                id                |  name  | enabled |          email           |
+----------------------------------+--------+---------+--------------------------+
| 59835e8ca23849448de87033110f84c4 | admin  |   True  | nikhil.bedare@myconpany.com |
| a9362d1e1934431286809501cb64e228 |  demo  |   True  | nikhil.bedare@myconpany.com |
| df3228b2de5545938b5b8bb6ba7ed46b | glance |   True  | nikhil.bedare@myconpany.com |
| 6501b1ab4353403ca76ff9d1372e091b |  nova  |   True  | nikhil.bedare@myconpany.com |
+----------------------------------+--------+---------+--------------------------+

Can someone please help me out ?

Thanks, Nikhil.

edit retag flag offensive close merge delete

Comments

What do keystone logs say? Is there any error? Standard folder to search them for is /var/log/keystone/

If you do not see anything interesting try to enable debug and verbose mode (putting them to true) in keystone conf files, then restart openstack services and retry to access through horizon.

Antonio G. gravatar imageAntonio G. ( 2014-05-29 07:28:44 -0500 )edit

Hi Antonio, Below are the messages in keystone.log : I forgot to mention that this setup is on RHEL 6.5 [root@controller ~]# tail /var/log/keystone/keystone.log 2014-05-29 04:29:36.142 4495 WARNING keystone.common.wsgi [-] Could not find project, service. 2014-05-29 04:47:32.257 4495 WARNING keystone.common.wsgi [-] Could not find user, nova. 2014-05-29 04:47:32.324 4495 WARNING keystone.common.wsgi [-] Could not find role, admin. 2014-05-29 04:47:32.386 4495 WARNING keystone.common.wsgi [-] Could not find project, service. 2014-05-29 05:47:44.594 4495 WARNING keystone.common.wsgi [-] Could not find user, admin. 2014-05-29 06:21:34.850 7609 WARNING keystone.openstack.common.versionutils [-] Deprecated: keystone.middleware.core.XmlBodyMiddleware is deprecated as of Icehouse in f 2014-05-29 06:27:31.373 7710 WARNING keystone.openstack.common.versionutils [-] Deprecated: keystone.middleware.core.XmlBodyMiddleware is deprecated as of Icehouse in f ...(more)

Nikhil Bedare gravatar imageNikhil Bedare ( 2014-05-29 12:19:08 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-05-30 06:04:13 -0500

jpichon gravatar image

The "Could not find user" messages do not look good. Can you check the Keystone URLs in the catalogue are correct?

What's the output of keystone user-list?

The example command you pasted suggests you're using the admin token rather than regular authentication, could you try running Keystone commands again from the CLI but after authenticating normally using an openrc file? (You can see how to create one at http://docs.openstack.org/user-guide/... ).

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

2 followers

Stats

Asked: 2014-05-29 07:08:43 -0500

Seen: 1,392 times

Last updated: May 30 '14