Ask Your Question
0

Internal Server Error when access horizon kilo

asked 2015-11-30 03:45:52 -0600

sawangpongm gravatar image

After I examine the log it show "from openstack_dashboard.api import base ImportError: cannot import name base". Here is full error in /var/log/httpd/horizon_error.log

[Mon Nov 30 09:32:42.227651 2015] [:error] [pid 8042] [remote 61.90.251.187:48] Traceback (most recent call last):
[Mon Nov 30 09:32:42.227669 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 170, in __call__
[Mon Nov 30 09:32:42.227781 2015] [:error] [pid 8042] [remote 61.90.251.187:48]     self.load_middleware()
[Mon Nov 30 09:32:42.227797 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 52, in load_middleware
[Mon Nov 30 09:32:42.227805 2015] [:error] [pid 8042] [remote 61.90.251.187:48]     mw_instance = mw_class()
[Mon Nov 30 09:32:42.227809 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/lib/python2.7/site-packages/django/middleware/locale.py", line 24, in __init__
[Mon Nov 30 09:32:42.227827 2015] [:error] [pid 8042] [remote 61.90.251.187:48]     for url_pattern in get_resolver(None).url_patterns:
[Mon Nov 30 09:32:42.227841 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 402, in url_patterns
[Mon Nov 30 09:32:42.227854 2015] [:error] [pid 8042] [remote 61.90.251.187:48]     patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Mon Nov 30 09:32:42.227861 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 396, in urlconf_module
[Mon Nov 30 09:32:42.227939 2015] [:error] [pid 8042] [remote 61.90.251.187:48]     self._urlconf_module = import_module(self.urlconf_name)
[Mon Nov 30 09:32:42.227945 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Mon Nov 30 09:32:42.227952 2015] [:error] [pid 8042] [remote 61.90.251.187:48]     __import__(name)
[Mon Nov 30 09:32:42.227956 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 35, in <module>
[Mon Nov 30 09:32:42.227964 2015] [:error] [pid 8042] [remote 61.90.251.187:48]     url(r'^api/', include('openstack_dashboard.api.rest.urls')),
[Mon Nov 30 09:32:42.227969 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 33, in include
[Mon Nov 30 09:32:42.227975 2015] [:error] [pid 8042] [remote 61.90.251.187:48]     urlconf_module = import_module(urlconf_module)
[Mon Nov 30 09:32:42.227980 2015] [:error] [pid 8042] [remote 61.90.251.187:48]   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
[Mon Nov 30 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-01-12 03:45:18 -0600

mrunge gravatar image

Unfortunately, that log doesn't help here.

Which version are you using? Kilo, liberty? Make sure you updated to latest, and make sure you have all required dependencies in place. They should be set up, if you installed from rdo repositories.

edit flag offensive delete link more
0

answered 2016-01-12 13:54:49 -0600

Sandeep gravatar image

hi,give more details,if you are getting this error while tried to open horizon or dashboad UI ,simply disable firewall and then try.

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-11-30 03:45:52 -0600

Seen: 226 times

Last updated: Jan 12 '16