Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Grizzly Horizon Error

Hi-

I get this error when browse the Grizzly Openstack-Dashboard, Horizon

[Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] mod_wsgi (pid=14124): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] Traceback (most recent call last): [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241, in __call__ [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] response = self.get_response(request) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179, in get_response [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) [Thu May 02 09:01:01 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 [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] if resolver.urlconf_module is None: [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323, in urlconf_module [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] self._urlconf_module = import_module(self.urlconf_name) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] __import__(name) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 36, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'', include(horizon.urls)) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 25, in include [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 184, in inner [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] self._setup() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 248, in _setup [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] self._wrapped = self._setupfunc() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 715, in url_patterns [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] return self._urls()[0] [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 746, in _urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'^%s/' % dash.slug, include(dash._decorated_urls))) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 456, in _decorated_urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'^%s/' % panel.slug, include(panel._decorated_urls))) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 230, in _decorated_urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] urlpatterns = self._get_default_urlpatterns() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 83, in _get_default_urlpatterns [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] urls_mod = import_module('.urls', package_string) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] __import__(name) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/containers/urls.py", line 23, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from .views import CreateView, UploadView, CopyView, ContainerView [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/containers/views.py", line 34, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from openstack_dashboard import api [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py", line 36, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from openstack_dashboard.api import base [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] ImportError: cannot import name base

Can any one help me on troubleshooting the issue.

Thanking you,

  • Trinath

Grizzly Horizon Error"ImportError: cannot import name base" error

Hi-

I get this error when browse the Grizzly Openstack-Dashboard, Horizon

[Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] mod_wsgi (pid=14124): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] Traceback (most recent call last): [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241, in __call__ [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] response = self.get_response(request) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179, in get_response [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) [Thu May 02 09:01:01 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 [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] if resolver.urlconf_module is None: [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323, in urlconf_module [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] self._urlconf_module = import_module(self.urlconf_name) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] __import__(name) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 36, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'', include(horizon.urls)) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 25, in include [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 184, in inner [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] self._setup() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 248, in _setup [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] self._wrapped = self._setupfunc() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 715, in url_patterns [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] return self._urls()[0] [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 746, in _urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'^%s/' % dash.slug, include(dash._decorated_urls))) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 456, in _decorated_urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'^%s/' % panel.slug, include(panel._decorated_urls))) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 230, in _decorated_urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] urlpatterns = self._get_default_urlpatterns() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 83, in _get_default_urlpatterns [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] urls_mod = import_module('.urls', package_string) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] __import__(name) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/containers/urls.py", line 23, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from .views import CreateView, UploadView, CopyView, ContainerView [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/containers/views.py", line 34, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from openstack_dashboard import api [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py", line 36, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from openstack_dashboard.api import base [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] ImportError: cannot import name base

Can any one help me on troubleshooting the issue.

Thanking you,

  • Trinath
click to hide/show revision 3
added details from the comment

Grizzly Horizon "ImportError: cannot import name base" error

Hi-

I get this error when browse the Grizzly Openstack-Dashboard, Horizon

[Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] mod_wsgi (pid=14124): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] Traceback (most recent call last): [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241, in __call__ [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] response = self.get_response(request) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179, in get_response [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) [Thu May 02 09:01:01 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 [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] if resolver.urlconf_module is None: [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323, in urlconf_module [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] self._urlconf_module = import_module(self.urlconf_name) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] __import__(name) [Thu May 02 09:01:01 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 36, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'', include(horizon.urls)) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 25, in include [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 184, in inner [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] self._setup() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 248, in _setup [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] self._wrapped = self._setupfunc() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 715, in url_patterns [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] return self._urls()[0] [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 746, in _urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'^%s/' % dash.slug, include(dash._decorated_urls))) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 456, in _decorated_urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] url(r'^%s/' % panel.slug, include(panel._decorated_urls))) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 230, in _decorated_urls [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] urlpatterns = self._get_default_urlpatterns() [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 83, in _get_default_urlpatterns [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] urls_mod = import_module('.urls', package_string) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] __import__(name) [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/containers/urls.py", line 23, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from .views import CreateView, UploadView, CopyView, ContainerView [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47]
File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/containers/views.py", line 34, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from openstack_dashboard import api [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/__init__.py", line 36, in <module> [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] from openstack_dashboard.api import base [Thu May 02 09:01:02 2013] [error] [client 10.232.90.47] ImportError: cannot import name base

I installed Dashboard with:

 apt-get install -y openstack-dashboard

on Ubuntu 12.04

Can any one help me on troubleshooting the issue.issue?

Thanking you,

  • Trinath