Openstack dashboard login error

asked 2014-05-26 06:52:59 -0500

Wayn3 gravatar image

updated 2014-05-26 07:41:18 -0500

I have openstack up and running on an instance. I installed Openstack dashboard on it and when i try to login it says "Error: An error occurred authenticating. Please try again later. ". I went to the views/auth_forms.py file and commented the second except part, it says "No token available" while trying to login this time. So i think token is not being generated by the keystone client. Please help me with this.

$keystone tenant-list
+--------------------------------------------------------+-----------+-------------+
|                id                                       |   name  | enabled |
+--------------------------------------------------------+-----------+------------+
| a17d29bcf7bc4d2bbb69bcfbedc8dace  |  admin |   True     |
| 2d319627237b4b0f9525f0b644456661  | service  |    True  |
+--------------------------------------------------------+------------+---------+

$keystone endpoint-list

+------------------------------+-----------+----------------------------+----------------------------+-----------------------------+----------------------------------+
|                id           |   region  |         publicurl    |        internalurl         |           adminurl          |    service_id            |
+------------------------------+-----------+----------------------------+----------------------------+-----------------------------+----------------------------------+
| 92420dc990cc4dff94e378fdd25ebb59 | regionOne | http://localhost:5000/v2.0 | http://localhost:5000/v2.0 | http://localhost:35357/v2.0 | 813e0c30d97f40f8b7d057dcb6387dff |

The above are the tenants and endpoints created

edit retag flag offensive close merge delete

Comments

you might need to check your token setting inside your local_setting.py. look for SECRET_KEY. btw, can you check your keystone status.

type in cli keystone tenant-list and keystone endpoint-list

does it give you any output?

senyapsudah gravatar imagesenyapsudah ( 2014-05-26 07:08:26 -0500 )edit

I did not change the SECRET_KEY value of my local_Settings.py file

Keystone tenant-list and keystone endpoint-list do give output. I will edit the question and paste the output

Wayn3 gravatar imageWayn3 ( 2014-05-26 07:31:21 -0500 )edit

Could you update the question to show what's in the Keystone logs as well as the Horizon logs when Horizon fails to authenticate?

jpichon gravatar imagejpichon ( 2014-05-27 08:26:07 -0500 )edit