Dashboard in Installation Guide - can't login

Bug #1697352 reported by perry blalock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Invalid
Undecided
Unassigned

Bug Description

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [X] This doc is inaccurate in this way: Followed installation document (https://docs.openstack.org/ocata/install-guide-ubuntu/common/conventions.html), EXACTLY step-by-step on Ubuntu 16.04.2LTS, and cannot login to Horizon Dashboard with user admin or demo, web interface face prompts for login, but get "Invalid credentials" error. Keystone_access log shows "172.16.208.11 - - [11/Jun/2017:22:37:37 -0700] "POST /v3.0/auth/tokens HTTP/1.1" 404 340 "-" "keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12""

Apache2 error_log shows "[Mon Jun 12 05:37:37.724109 2017] [wsgi:error] [pid 1587:tid 139781703026432] DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://controller:5000/v3.0/auth/tokens
[Mon Jun 12 05:37:39.402382 2017] [wsgi:error] [pid 1587:tid 139781703026432] DEBUG:keystoneauth.session:Request returned failure status: 404
[Mon Jun 12 05:37:39.402625 2017] [wsgi:error] [pid 1587:tid 139781703026432] Login failed for user "demo", remote address 192.168.0.200.

Access to all service via the openstack clinet from the CLI work just fine.

Note that I've searched the community boards and found that many, many, others have this same problem and yet there has been no resolution. Also had the same problem when installing on CentOS7.

Thanks

-----------------------------------
Release: 15.0.0 on 2017-06-09 15:49
SHA: 5ac7ff2dfa259f279581209f919f5e0cc02e1f9f
Source: https://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/horizon.rst
URL: https://docs.openstack.org/ocata/install-guide-ubuntu/horizon.html

Revision history for this message
Anne Gentle (annegentle) wrote :

This is a problem for many people because of the wide variance in networks between the cloud and the dashboard and the place where you're trying to access the dashboard. This doc has been tested thousands of times by hand, so you need to figure out what's blocking between the dashboard URL and your IP address where you're access the dashboard.

Changed in openstack-manuals:
status: New → Invalid
Revision history for this message
perry blalock (badgerdog) wrote :

I see, thanks for that. The installation documentation says to use the following line in the "/etc/openstack-dashboard/local_settings.py" file:

OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3.0" % OPENSTACK_HOST

I changed that line to read:

OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST

Now it works great. Thank you for producing and maintaining the docs, would be completely lost otherwise.

Revision history for this message
Anne Gentle (annegentle) wrote :

Ah, good. Yeah, typing in strings is actually quite difficult, hence the many support requests logged. :)

Can I mark 1697238 as a duplicate of this bug? Does the above fix solve it?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.