[Openstack] The Dashboard not accessible

Mandar Khanolkar mandarkhanolkar at gmail.com
Wed Mar 12 05:00:44 UTC 2014


Hello folks,

I have configured controller, compute, network services on single host.
I can start a VM and see it ACTIVE using nova list cmd.
Next I installed dashboard and trying to access it where I am getting below
error.
Apache home page is accessible. But when i accesss
http://myhost/dashboard , browser displays Internal Server Error and httpd
log gives below errors.
Any clue?

[Tue Mar 11 14:36:19.858901 2014] [:error] [pid 5022] Internal Server
Error: /dashboard/

[Tue Mar 11 14:36:19.858998 2014] [:error] [pid 5022] Traceback (most
recent call last):

[Tue Mar 11 14:36:19.859014 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 92,
in get_response

[Tue Mar 11 14:36:19.859027 2014] [:error] [pid 5022]     response =
middleware_method(request)

[Tue Mar 11 14:36:19.859044 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/middleware/locale.py", line 21, in
process_request

[Tue Mar 11 14:36:19.859057 2014] [:error] [pid 5022]     check_path =
self.is_language_prefix_patterns_used()

[Tue Mar 11 14:36:19.859067 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/middleware/locale.py", line 56, in
is_language_prefix_patterns_used

[Tue Mar 11 14:36:19.859079 2014] [:error] [pid 5022]     for url_pattern
in get_resolver(None).url_patterns:

[Tue Mar 11 14:36:19.859089 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 347,
in url_patterns

[Tue Mar 11 14:36:19.859101 2014] [:error] [pid 5022]     patterns =
getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)

[Tue Mar 11 14:36:19.859116 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 342,
in urlconf_module

[Tue Mar 11 14:36:19.859128 2014] [:error] [pid 5022]
self._urlconf_module = import_module(self.urlconf_name)

[Tue Mar 11 14:36:19.859140 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in
import_module

[Tue Mar 11 14:36:19.859160 2014] [:error] [pid 5022]     __import__(name)

[Tue Mar 11 14:36:19.859174 2014] [:error] [pid 5022]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py",
line 38, in <module>

[Tue Mar 11 14:36:19.859186 2014] [:error] [pid 5022]     url(r'',
include(horizon.urls))

[Tue Mar 11 14:36:19.859197 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 26,
in include

[Tue Mar 11 14:36:19.859208 2014] [:error] [pid 5022]     patterns =
getattr(urlconf_module, 'urlpatterns', urlconf_module)

[Tue Mar 11 14:36:19.859219 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/utils/functional.py", line 204, in
inner

[Tue Mar 11 14:36:19.859229 2014] [:error] [pid 5022]     self._setup()

[Tue Mar 11 14:36:19.859239 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/utils/functional.py", line 270, in
_setup

[Tue Mar 11 14:36:19.859250 2014] [:error] [pid 5022]     self._wrapped =
self._setupfunc()

[Tue Mar 11 14:36:19.859261 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/horizon/base.py", line 730, in
url_patterns

[Tue Mar 11 14:36:19.859275 2014] [:error] [pid 5022]     return
self._urls()[0]

[Tue Mar 11 14:36:19.859287 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/horizon/base.py", line 737, in _urls

[Tue Mar 11 14:36:19.859299 2014] [:error] [pid 5022]
self._autodiscover()

[Tue Mar 11 14:36:19.859311 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/horizon/base.py", line 782, in
_autodiscover

[Tue Mar 11 14:36:19.859331 2014] [:error] [pid 5022]
import_module('%s.%s' % (app, mod_name))

[Tue Mar 11 14:36:19.859384 2014] [:error] [pid 5022]   File
"/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in
import_module

[Tue Mar 11 14:36:19.859396 2014] [:error] [pid 5022]     __import__(name)

[Tue Mar 11 14:36:19.859411 2014] [:error] [pid 5022]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/router/dashboard.py",
line 19, in <module>

[Tue Mar 11 14:36:19.859424 2014] [:error] [pid 5022]     from
openstack_dashboard.api import neutron

[Tue Mar 11 14:36:19.859435 2014] [:error] [pid 5022]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",
line 36, in <module>

[Tue Mar 11 14:36:19.859447 2014] [:error] [pid 5022]     from
openstack_dashboard.api import base

[Tue Mar 11 14:36:19.859458 2014] [:error] [pid 5022] ImportError: cannot
import name base

[Tue Mar 11 14:36:19.864135 2014] [:error] [pid 5022] [remote
192.168.1.48:24] mod_wsgi (pid=5022): Exception occurred processing WSGI
script
'/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.

[Tue Mar 11 14:36:19.864193 2014] [:error] [pid 5022] [remote
192.168.1.48:24] Traceback (most recent call last):

[Tue Mar 11 14:36:19.864230 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 255,
in __call__

[Tue Mar 11 14:36:19.864272 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     response = self.get_response(request)

[Tue Mar 11 14:36:19.864291 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 178,
in get_response

[Tue Mar 11 14:36:19.864324 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     response = self.handle_uncaught_exception(request,
resolver, sys.exc_info())

[Tue Mar 11 14:36:19.864341 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 220,
in handle_uncaught_exception

[Tue Mar 11 14:36:19.864373 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     if resolver.urlconf_module is None:

[Tue Mar 11 14:36:19.864389 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 342,
in urlconf_module

[Tue Mar 11 14:36:19.864420 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     self._urlconf_module = import_module(self.urlconf_name)

[Tue Mar 11 14:36:19.864441 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in
import_module

[Tue Mar 11 14:36:19.864467 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     __import__(name)

[Tue Mar 11 14:36:19.864489 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py",
line 38, in <module>

[Tue Mar 11 14:36:19.864515 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     url(r'', include(horizon.urls))

[Tue Mar 11 14:36:19.864536 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 26,
in include

[Tue Mar 11 14:36:19.864566 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     patterns = getattr(urlconf_module, 'urlpatterns',
urlconf_module)

[Tue Mar 11 14:36:19.864586 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/utils/functional.py", line 204, in
inner

[Tue Mar 11 14:36:19.864614 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     self._setup()

[Tue Mar 11 14:36:19.864633 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/utils/functional.py", line 270, in
_setup

[Tue Mar 11 14:36:19.864661 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     self._wrapped = self._setupfunc()

[Tue Mar 11 14:36:19.864681 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File "/usr/lib/python2.7/site-packages/horizon/base.py",
line 730, in url_patterns

[Tue Mar 11 14:36:19.864725 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     return self._urls()[0]

[Tue Mar 11 14:36:19.864745 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File "/usr/lib/python2.7/site-packages/horizon/base.py",
line 737, in _urls

[Tue Mar 11 14:36:19.864772 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     self._autodiscover()

[Tue Mar 11 14:36:19.864792 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File "/usr/lib/python2.7/site-packages/horizon/base.py",
line 782, in _autodiscover

[Tue Mar 11 14:36:19.864833 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     import_module('%s.%s' % (app, mod_name))

[Tue Mar 11 14:36:19.864857 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in
import_module

[Tue Mar 11 14:36:19.864884 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     __import__(name)

[Tue Mar 11 14:36:19.864905 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/router/dashboard.py",
line 19, in <module>

[Tue Mar 11 14:36:19.864936 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     from openstack_dashboard.api import neutron

[Tue Mar 11 14:36:19.864957 2014] [:error] [pid 5022] [remote
192.168.1.48:24]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",
line 36, in <module>

[Tue Mar 11 14:36:19.864987 2014] [:error] [pid 5022] [remote
192.168.1.48:24]     from openstack_dashboard.api import base

[Tue Mar 11 14:36:19.865018 2014] [:error] [pid 5022] [remote
192.168.1.48:24] ImportError: cannot import name base


Thanks.
Mandar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140312/e08180c4/attachment.html>


More information about the Openstack mailing list