Ask Your Question
1

ServiceCatalogException when logging in to the dashboard

asked 2014-10-05 07:33:33 -0500

sunny0690 gravatar image

updated 2015-09-07 09:45:27 -0500

fifieldt gravatar image

hi,

I am new to openstack and i am installing the openstack in ubuntu server 14.04. I configured the horizon dashboard and i tried to login into the dashboard with admin credentials but it is giving an error

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

when i checked the error log it is showing login was successful but after that there is an error at get_response function base.py file

the following is the error log

[Sun Oct 05 12:05:33.276218 2014] [:error] [pid 57595:tid 140460821530368] Login successful for user "admin".
[Sun Oct 05 12:05:51.920903 2014] [:error] [pid 57596:tid 140460745930496] Internal Server Error: /horizon/admin/
[Sun Oct 05 12:05:51.921860 2014] [:error] [pid 57596:tid 140460745930496] Traceback (most recent call last):
[Sun Oct 05 12:05:51.922271 2014] [:error] [pid 57596:tid 140460745930496]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
[Sun Oct 05 12:05:51.923222 2014] [:error] [pid 57596:tid 140460745930496]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Sun Oct 05 12:05:51.923654 2014] [:error] [pid 57596:tid 140460745930496]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sun Oct 05 12:05:51.923965 2014] [:error] [pid 57596:tid 140460745930496]     return view_func(request, *args, **kwargs)
[Sun Oct 05 12:05:51.924268 2014] [:error] [pid 57596:tid 140460745930496]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sun Oct 05 12:05:51.924746 2014] [:error] [pid 57596:tid 140460745930496]     return view_func(request, *args, **kwargs)
[Sun Oct 05 12:05:51.925054 2014] [:error] [pid 57596:tid 140460745930496]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec
[Sun Oct 05 12:05:51.925357 2014] [:error] [pid 57596:tid 140460745930496]     return view_func(request, *args, **kwargs)
[Sun Oct 05 12:05:51.925876 2014] [:error] [pid 57596:tid 140460745930496]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Sun Oct 05 12:05:51.926252 2014] [:error] [pid 57596:tid 140460745930496]     return view_func(request, *args, **kwargs)
[Sun Oct 05 12:05:51.927062 2014] [:error] [pid 57596:tid 140460745930496]   File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Sun Oct 05 12:05:51.927174 2014] [:error] [pid 57596:tid 140460745930496]     return view_func(request, *args, **kwargs)
[Sun Oct 05 12:05:51.927256 2014] [:error] [pid 57596:tid 140460745930496]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in view
[Sun Oct 05 12:05:51.927504 2014] [:error] [pid 57596:tid 140460745930496]     return self.dispatch(request, *args, **kwargs)
[Sun Oct 05 12:05:51.927949 2014] [:error] [pid 57596:tid 140460745930496]   File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, in dispatch
[Sun Oct 05 12:05:51.928061 2014] [:error] [pid 57596:tid 140460745930496]     return ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-10-06 08:12:00 -0500

jpichon gravatar image

Could you type keystone catalog on the command-line and see if "Service: compute" is in the output? (Feel free to update your question with the output of the command.

If it does exist, maybe carefully check the region name. I've seen problems like this when one service has region e.g. "regionOne" while the others are "RegionOne", the case needs to be the same. (You should be able to fix this in the database.)

edit flag offensive delete link more

Comments

hi jpichon, Thanks for your reply. I checked the logs and it is showing compute service but the region names as different as u said above. Changing the region name will help me in overcoming the issue? Regards, Sunny

sunny0690 gravatar imagesunny0690 ( 2014-10-06 08:43:34 -0500 )edit

hi jpichon even after changing the region name it is giving the same result could you please help me in overcoming this problem Regards, sunny

sunny0690 gravatar imagesunny0690 ( 2014-10-06 17:02:08 -0500 )edit

Do the region names all match now, when running keystone catalog?

Horizon picks up the catalogue once at login time so you need to "log out" first. Can you try deleting your cookies for the domain, then login in again?

jpichon gravatar imagejpichon ( 2014-10-07 08:52:21 -0500 )edit

hi jpichon yes all the region names are showing same and i removed all the cookies and tried to login but the same error i am getting

sunny0690 gravatar imagesunny0690 ( 2014-10-07 09:15:05 -0500 )edit

If you're getting the same error even when e.g. using another browser, I'm afraid I don't know what is causing it... I'm sorry, I hope someone else has ideas.

jpichon gravatar imagejpichon ( 2014-10-08 10:48:14 -0500 )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: 2014-10-05 07:33:33 -0500

Seen: 1,778 times

Last updated: Sep 07 '15