openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #23125
Grizzly Horizon Import Error
Hi Stackers-
I have installed Openstack Grizzly with all the components but I get this
Horizon Error when I try to access the Horizon GUI
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] mod_wsgi
(pid=2785): Exception occurred processing WSGI script
'/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] Traceback (most
recent call last):
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241,
in __call__
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] response =
self.get_response(request)
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179,
in get_response
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] response =
self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 224,
in handle_uncaught_exception
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] if
resolver.urlconf_module is None:
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323,
in urlconf_module
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47]
self._urlconf_module = import_module(self.urlconf_name)
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
import_module
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47]
__import__(name)
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py",
line 36, in <module>
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] url(r'',
include(horizon.urls))
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 25,
in include
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] patterns =
getattr(urlconf_module, 'urlpatterns', urlconf_module)
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 184, in
inner
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] self._setup()
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 248, in
_setup
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] self._wrapped
= self._setupfunc()
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/horizon/base.py", line 715, in
url_patterns
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] return
self._urls()[0]
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/horizon/base.py", line 746, in _urls
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] url(r'^%s/' %
dash.slug, include(dash._decorated_urls)))
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/horizon/base.py", line 456, in
_decorated_urls
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] url(r'^%s/' %
panel.slug, include(panel._decorated_urls)))
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/horizon/base.py", line 230, in
_decorated_urls
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] urlpatterns =
self._get_default_urlpatterns()
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/horizon/base.py", line 83, in
_get_default_urlpatterns
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] urls_mod =
import_module('.urls', package_string)
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in
import_module
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47]
__import__(name)
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/urls.py",
line 23, in <module>
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] from
.api_access import urls as api_access_urls
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/api_access/urls.py",
line 23, in <module>
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] from .views
import download_ec2_bundle, download_rc_file
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/api_access/views.py",
line 30, in <module>
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] from
openstack_dashboard import api
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py",
line 36, in <module>
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] from
openstack_dashboard.api import base
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] ImportError:
cannot import name base
[Tue Apr 30 05:59:04 2013] [error] [client 10.232.90.47] File does not
exist: /var/www/favicon.ico
Kindly, help me resolve this issue.
--
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130
Follow ups