Ask Your Question
0

I have a problem to login in newly installed dashboard

asked 2015-10-23 05:26:00 -0500

Robert Iad gravatar image

updated 2015-10-23 13:44:57 -0500

fgorbat gravatar image

I have just installed the kilo openstack following the step-by-step documentation... When trying to login http://controller/dashboard using admin account i get:

Something went wrong!

An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator.

The /var/log/httpd/error.log show the following:

[Fri Oct 23 09:55:12.638962 2015] [:error] [pid 3023] Login successful for user "admin".
[Fri Oct 23 09:55:12.639468 2015] [:error] [pid 3023] Internal Server Error: /dashboard/auth/login/
[Fri Oct 23 09:55:12.639477 2015] [:error] [pid 3023] Traceback (most recent call last):
[Fri Oct 23 09:55:12.639479 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
[Fri Oct 23 09:55:12.639481 2015] [:error] [pid 3023]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Fri Oct 23 09:55:12.639482 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Fri Oct 23 09:55:12.639484 2015] [:error] [pid 3023]     return view(request, *args, **kwargs)
[Fri Oct 23 09:55:12.639486 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Fri Oct 23 09:55:12.639487 2015] [:error] [pid 3023]     response = view_func(request, *args, **kwargs)
[Fri Oct 23 09:55:12.639489 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Fri Oct 23 09:55:12.639491 2015] [:error] [pid 3023]     response = view_func(request, *args, **kwargs)
[Fri Oct 23 09:55:12.639492 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/openstack_auth/views.py", line 111, in login
[Fri Oct 23 09:55:12.639494 2015] [:error] [pid 3023]     **kwargs)
[Fri Oct 23 09:55:12.639496 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
[Fri Oct 23 09:55:12.639497 2015] [:error] [pid 3023]     return view(request, *args, **kwargs)
[Fri Oct 23 09:55:12.639499 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
[Fri Oct 23 09:55:12.639500 2015] [:error] [pid 3023]     response = view_func(request, *args, **kwargs)
[Fri Oct 23 09:55:12.639502 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
[Fri Oct 23 09:55:12.639504 2015] [:error] [pid 3023]     response = view_func(request, *args, **kwargs)
[Fri Oct 23 09:55:12.639505 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 51, in login
[Fri Oct 23 09:55:12.639507 2015] [:error] [pid 3023]     auth_login(request, form.get_user())
[Fri Oct 23 09:55:12.639521 2015] [:error] [pid 3023]   File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 102, in login
[Fri Oct 23 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-25 03:22:04 -0500

Robert Iad gravatar image

[root@controller ~]# nova-manage service list Binary Host Zone Status State Updated_At nova-consoleauth controller internal enabled :-) 2015-10-25 07:52:59 nova-scheduler controller internal enabled :-) 2015-10-25 07:52:58 nova-cert controller internal enabled :-) 2015-10-25 07:52:58 nova-conductor controller internal enabled :-) 2015-10-25 07:52:59 nova-compute compute1 nova enabled XXX 2015-10-20 18:35:18 nova-network compute1 internal enabled XXX 2015-10-20 18:35:18

BTW sometimes after reboot of the controller i'm able to login to the dashboard. But then, later on, probably after the session times out i get this problem (described earlier)

edit flag offensive delete link more

Comments

check the /var/log/keystone/keystone.log for Authentication errors. To be sure, you created a user, assign a role and attach a project to this user.

Bipin gravatar imageBipin ( 2015-11-09 03:22:15 -0500 )edit
0

answered 2015-10-25 00:47:29 -0500

Bipin gravatar image

could you please paste the output of

nova-manage service list

from your controller ?

edit flag offensive delete link more

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: 2015-10-23 05:26:00 -0500

Seen: 780 times

Last updated: Oct 25 '15