mikata horizon login fails

asked 2016-09-27 04:08:27 -0500

aliriza gravatar image

updated 2016-09-28 02:02:30 -0500

Hi,

I followed oficial documentation to install openstack on two vagrant boxes 1 controller and 1 compute. All went well and openstack services works now.

with my admin rc file i can create image, get token etc.

# openstack token issue
+------------+---------------------------------------------+
| Field      | Value                                       |
+------------+---------------------------------------------+
| expires    | 2016-09-27T09:41:31.729187Z                 |
| id         | gAAAAABX6jC8fbcDCwwNKrD9W0OOt9x...          |
| project_id | 00ed2d9fcd1744c5b41bf5a98565f4df            |
| user_id    | 3195eae12fa349509971125320ed6e9f            |
+------------+---------------------------------------------+

# openstack image list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| dca47be7-e7a5-4aa9-9c33-696ce2ae1cd4 | cirros | active |
+--------------------------------------+--------+--------+

# openstack user list
+----------------------------------+---------+
| ID                               | Name    |
+----------------------------------+---------+
| 15a3090866f04abda2ceb15ebd6dd4d4 | neutron |
| 3195eae12fa349509971125320ed6e9f | admin   |
| b7f9d31e630a4e4e927bc0b9f7966d20 | glance  |
| d05bd68134214e9287ac9bb603b8ab6f | demo    |
| e1d4f508bb15456fab286efe5ba43a04 | nova    |
+----------------------------------+---------+

# neutron agent-list
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host       | availability_zone | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+
| 1d36d34b-8998-40a5-995f-63a6cca2f0b9 | L3 agent           | controller | nova              | :-)   | True           | neutron-l3-agent          |
| 3c0f8918-0267-441d-b201-413d5457699d | Linux bridge agent | compute    |                   | :-)   | True           | neutron-linuxbridge-agent |
| 8e3de3b3-280a-4ec9-848e-5091c9081c0f | Linux bridge agent | controller |                   | :-)   | True           | neutron-linuxbridge-agent |
| 92c992f1-eb47-40c6-b003-fe45a68ad0b9 | Metadata agent     | controller |                   | :-)   | True           | neutron-metadata-agent    |
| d6f703d0-9057-4019-9a8e-aa6530e58166 | DHCP agent         | controller | nova              | :-)   | True           | neutron-dhcp-agent        |
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+

So i think my credentials are true. But i can not login via dashboard. I set all my horizon settings same with as documented here: http://docs.openstack.org/mitaka/install-guide-ubuntu/horizon-install.html

I set django logging to a file and i got belows when i try to login:

Beginning user authentication
Attempting to authenticate for admin
The resource could not be found. (HTTP 404)
Login failed for user "admin".
Load condition failed for panel: identity_providers
Load condition failed for panel: mappings

How can I debug the case more detailed? How can I go futher? What can be the resource which is missing mentioned in error message?

Thanks..

edit retag flag offensive close merge delete

Comments

Check /var/log/keystone/keystone.log on your controller - hopefully there should be something helpful in there when you try to login to Horizon. If there's nothing at all, then Horizon can't find Keystone.

tedlit gravatar imagetedlit ( 2016-10-01 19:07:27 -0500 )edit