Ask Your Question
0

Unable to login to horizon

asked 2017-06-19 03:19:30 -0600

djahn gravatar image

Unable to login to horizon

NEWTON Dashboard demo login error

You have completed installation as per the manual at https://docs.openstack.org/newton/install-guide-ubuntu/ (https://docs.openstack.org/newton/ins...). I install it as a controller node, and the admin account becomes login.

However, the demo account at http: // controller / horizon does not log in.

So in error.log

[Mon Jun 19 15:25:25.961102 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.identity.v3.base:{"token": {"issued_at": "2017-06-19T06:25:25.000000Z", "user": {"domain": {"id": "default", "name": "Default"}, "id": "e67799ac0cdd4981b8fccd44cd0f2bb5", "name": "demo"}, "methods": ["password"], "expires_at": "2017-06-19T07:25:25.000000Z", "audit_ids": ["HgJWPhIMR66ktDiLVDH3Tw"]}} [Mon Jun 19 15:25:25.963000 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://controller:5000/v3/auth/tokens [Mon Jun 19 15:25:26.049613 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.session:Request returned failure status: 401 [Mon Jun 19 15:25:26.051531 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.session:REQ: curl -g -i -X GET http://controller:5000/v3 -H "Accept: application/json" -H "User-A gent: keystoneauth1/2.12.1 python-requests/2.10.0 CPython/2.7.12" [Mon Jun 19 15:25:26.062298 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.session:RESP: [200] Date: Mon, 19 Jun 2017 06:25:26 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-49ac8b82-b189-4617-ae4b-5fbe694040d6 Content-Length: 249 Keep-Alive: timeout=5, max=98 Connection: Keep-Alive Content-Type: application/json [Mon Jun 19 15:25:26.062320 2017] [wsgi:error] [pid 3448:tid 140402911987456] RESP BODY: {"version": {"status": "stable", "updated": "2016-10-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.7", "links": [{"href": "http://controller:5000/v3/", "rel": "self"}]}} [Mon Jun 19 15:25:26.062324 2017] [wsgi:error] [pid 3448:tid 140402911987456] [Mon Jun 19 15:25:26.062636 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.session:REQ: curl -g -i -X GET http://controller:5000/v3/users/e67799ac0cdd4981b8fccd44cd0f2bb5/projects (http://controller:5000/v3/users/e6779...) -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5135e3b2f04da58e7d88c57ced757b819283a340" [Mon Jun 19 15:25:26.134798 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.session:RESP: [200] Date: Mon, 19 Jun 2017 06:25:26 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-1a718d08-4fc3-4c0b-809c-d8f2365adcd7 Content-Length: 408 Keep-Alive: timeout=5, max=97 Connection: Keep-Alive Content-Type: application/json [Mon Jun 19 15:25:26.134817 2017] [wsgi:error] [pid 3448:tid 140402911987456] RESP BODY: {"links": {"self": "http://controller:5000/v3/users/e67799ac0cdd4981b8fccd44cd0f2bb5/projects", "previous": null, "next": null}, "projects": [{"is_domain": false, "description": "Demo Project", "links": {"self": "http://controller:5000/v3/projects/866f2d324cca4f4cb0fb13b92ea22578"}, "enabled": true, "id": "866f2d324cca4f4cb0fb13b92ea22578", "parent_id": "default", "domain_id": "default", "name": "demo"}]} [Mon Jun 19 15:25:26.134821 2017] [wsgi:error] [pid 3448:tid 140402911987456] [Mon Jun 19 15:25:26.135042 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.identity.v3.base:Making authentication request to ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-06-19 08:25:24 -0600

tkokok gravatar image

port 5000 is used for 'admin' , and 'demo' should use port 35357

edit flag offensive delete link more

Comments

Thank you.

Using port 5000 keystone-manage bootstrap --bootstrap-password adminpass --bootstrap-admin-url http://controller:35357/v3/ --bootstrap-internal-url http://controller:35357/v3/ --bootstrap-public-url http://controller:5000/v3/ --bootstrap-region-id RegionOne

openstack --os-auth-url htt

djahn gravatar imagedjahn ( 2017-06-19 22:26:30 -0600 )edit

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: 2017-06-19 03:19:30 -0600

Seen: 371 times

Last updated: Jun 19 '17