Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to login to horizon

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/. 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 -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 http://controller:5000/v3/auth/tokens [Mon Jun 19 15:25:26.304062 2017] [wsgi:error] [pid 3448:tid 140402911987456] DEBUG:keystoneauth.identity.v3.base:{"token": {"is_domain": false, "methods": ["token", "password"], "roles": [{"id": "31e52c7b4136425e9a39bec415f86dbb", "name": "user"}], "expires_at": "2017-06-19T07:25:25.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "866f2d324cca4f4cb0fb13b92ea22578", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://swift_proxy:8080/v1/AUTH_866f2d324cca4f4cb0fb13b92ea22578", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5cb2f8792f53461a947bdd83586dbd33"}, {"url": "http://swift_proxy:8080/v1/AUTH_866f2d324cca4f4cb0fb13b92ea22578", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "be3d628c14df46778f10dfdf88de61b9"}, {"url": "http://swift_proxy:8080/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "c664889b8db24610a6d8c58270c6c8d7"}], "type": "object-store", "id": "1ddba8450d8e4b00befadcc4bfabdaa4", "name": "swift"}, {"endpoints": [{"url": "http://controller:35357/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "245d5ec8e6c84278b67e4096fe5c715e"}, {"url": "http://controller:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "529fc928f61943e8ae8b5a728950bd88"}, {"url": "http://controller:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "67ef503d772d4ed18cedb0d81e994a24"}], "type": "identity", "id": "aab05dd0d0b4404c9be3f03da7a2f5d4", "name": "keystone"}], "user": {"domain": {"id": "default", "name": "Default"}, "id": "e67799ac0cdd4981b8fccd44cd0f2bb5", "name": "demo"}, "audit_ids": ["oWGvOLc4S3Gg9s0CU2zquA", "HgJWPhIMR66ktDiLVDH3Tw"], "issued_at": "2017-06-19T06:25:26.000000Z"}} [Mon Jun 19 15:25:26.307095 2017] [wsgi:error] [pid 3448:tid 140402911987456] Login successful for user "demo". [Mon Jun 19 15:25:26.350741 2017] [wsgi:error] [pid 3447:tid 140402987521792] DEBUG:keystoneauth.session:REQ: curl -g -i -X GET http://controller:5000/v3/users/e67799ac0cdd4981b8fccd44cd0f2bb5/projects -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5135e3b2f04da58e7d88c57ced757b819283a340" [Mon Jun 19 15:25:26.467760 2017] [wsgi:error] [pid 3447:tid 140402987521792] 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-eade4b6d-15a0-4e66-bc57-33d91d9c06e0 Content-Length: 408 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json [Mon Jun 19 15:25:26.467802 2017] [wsgi:error] [pid 3447:tid 140402987521792] 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.467807 2017] [wsgi:error] [pid 3447:tid 140402987521792]

In addition, Keystone.log

2017-06-19 15:25:26.060577 2017-06-19 15:25:26.057 3453 INFO keystone.common.wsgi [req-49ac8b82-b189-4617-ae4b-5fbe694040d6 - - - - -] GET http://controller:5000/v3/ 2017-06-19 15:25:26.085410 2017-06-19 15:25:26.085 3449 INFO keystone.common.wsgi [req-1a718d08-4fc3-4c0b-809c-d8f2365adcd7 e67799ac0cdd4981b8fccd44cd0f2bb5 - - default -] GET http://controller:5000/v3/users/e67799ac0cdd4981b8fccd44cd0f2bb5/projects 2017-06-19 15:25:26.143458 2017-06-19 15:25:26.143 3453 INFO keystone.common.wsgi [req-aab8125c-cc13-45ba-a02c-97003b7d563c e67799ac0cdd4981b8fccd44cd0f2bb5 - - default -] POST http://controller:5000/v3/auth/tokens 2017-06-19 15:25:26.387763 2017-06-19 15:25:26.387 3451 INFO keystone.common.wsgi [req-eade4b6d-15a0-4e66-bc57-33d91d9c06e0 e67799ac0cdd4981b8fccd44cd0f2bb5 - - default -] GET http://controller:5000/v3/users/e67799ac0cdd4981b8fccd44cd0f2bb5/projects

founding.

Please, I would like advice. Thank you.