[horizon] An error occured authenticating.

asked 2015-09-15 06:30:52 -0500

ruben gravatar image

updated 2015-10-08 08:40:24 -0500

fifieldt gravatar image

Hey,

I get an error when trying to login into the Openstack dashboard with the correct credentials. The error says "An error occurred authenticating. Please try again later.". I tried a lot of things I found on forums but nothing solves the issue.

I am running Openstack juno in CentOS 7. Here are some of the logs when i try to log in.

/var/log/httpd/error_log

[Tue Sep 15 13:20:54.244309 2015] [:error] [pid 2809] Login failed for user "admin".

/var/log/httpd/access_log

10.0.1.109 - - [15/Sep/2015:13:23:07 +0200] "POST /dashboard/auth/login/ HTTP/1.1" 200 5832 "http://10.63.0.31/dashboard/auth/login/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0"
10.0.1.109 - - [15/Sep/2015:13:23:07 +0200] "GET /dashboard/i18n/js/horizon/ HTTP/1.1" 200 2372 "http://10.63.0.31/dashboard/auth/login/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0"

/var/log/keystone/keystone_log

    2015-09-15 12:58:02.445 2026 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:58:02] "GET /v2.0/users/admin HTTP/1.1" 404 246 0.028054
2015-09-15 12:58:02.471 2048 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:58:02] "GET /v2.0/users HTTP/1.1" 200 784 0.022097
2015-09-15 12:58:17.897 2035 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:58:17] "GET /v2.0 HTTP/1.1" 200 576 0.002543
2015-09-15 12:58:17.914 2044 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:58:17] "GET /v2.0/extensions HTTP/1.1" 200 2777 0.002301
2015-09-15 12:58:46.888 2044 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:58:46] "POST /v2.0/tokens HTTP/1.1" 200 1888 0.125997
2015-09-15 12:58:46.933 2048 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:58:46] "GET /v2.0/tenants/703f9b1eb60041cf92ca3995889f7e7b$
2015-09-15 12:58:59.624 2026 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:58:59] "POST /v2.0/tokens HTTP/1.1" 200 1888 0.123272
2015-09-15 12:58:59.654 2035 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:58:59] "GET /v2.0/OS-KSADM/roles HTTP/1.1" 200 289 0.026148
2015-09-15 12:59:15.618 2026 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:59:15] "POST /v2.0/tokens HTTP/1.1" 200 1888 0.086809
2015-09-15 12:59:15.648 2035 INFO eventlet.wsgi.server [-] 10.63.0.11 - - [15/Sep/2015 12:59:15] "GET /v2.0/users HTTP/1.1" 200 784 0.026215
2015-09-15 13:00:02.070 25260 INFO keystone.token.persistence.backends.sql [-] Token expiration batch size: 1000 ...
(more)
edit retag flag offensive close merge delete

Comments

Can you post /var/log/horizon/horizon.log? Do cli commands authenticate and execute successfully?

johanno gravatar imagejohanno ( 2015-09-15 11:18:22 -0500 )edit

@johanno CLI command execute correctly and my /var/log/horizon/horizon.log stays empty.

ruben gravatar imageruben ( 2015-09-17 06:32:45 -0500 )edit