Hi All- I have modified the "from openstack_dashboard.api import base, cinder, keystone etc..." to "form openstack_dashboard.api.base import *" format I gave me the "Horizon login screen"
But then , when I login, I get this error [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] mod_wsgi (pid=31667): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] Traceback (most recent call last): [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241, in __call__ [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] response = self.get_response(request) [Tue May 07 04:57:46 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 May 07 04:57:46 2013] [error] [client 10.232.90.47] response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return callback(request, **param_dict) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 91, in _wrapped_view [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] response = view_func(request, *args, **kwargs) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 33, in server_error [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return http.HttpResponseServerError(t.render(Context({}))) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return self._render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return self.nodelist.render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 823, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] bit = self.render_node(node, context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 837, in render_node [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return node.render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return compiled_parent._render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return self.nodelist.render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 823, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] bit = self.render_node(node, context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 837, in render_node [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return node.render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 155, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return self.render_template(self.template, context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 137, in render_template [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] output = template.render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return self._render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return self.nodelist.render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 823, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] bit = self.render_node(node, context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 837, in render_node [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return node.render(context) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 147, in render [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] return self.render_compressed(context, self.kind, self.mode, forced=forced) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 88, in render_compressed [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] cached_offline = self.render_offline(context, forced=forced) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] File "/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line 72, in render_offline [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] 'You may need to run "python manage.py compress".' % key) [Tue May 07 04:57:46 2013] [error] [client 10.232.90.47] OfflineGenerationError: You have offline compression enabled but key "3ddd89d27fa2e162d4efd30c103a072b" is missing from offline manifest. You may need to run "python manage.py compress". Kindly help me resolve the issue. - Trinath On Tue, Apr 30, 2013 at 11:45 AM, Cheng, Lin Hua (Cloud Services) < lin-hua.ch...@hp.com> wrote: > This is the same issue reported in: > https://bugs.launchpad.net/horizon/+bug/1125622**** > > ** ** > > There is also a discussion in this bug with workarounds: > https://bugs.launchpad.net/horizon/+bug/1116467**** > > ** ** > > Hope this helps.**** > > ** ** > > -Lin**** > > ** ** > > *From:* Openstack [mailto:openstack-bounces+lin-hua.cheng= > hp....@lists.launchpad.net] *On Behalf Of *Trinath Somanchi > *Sent:* Monday, April 29, 2013 11:03 PM > *To:* openstack@lists.launchpad.net > *Subject:* [Openstack] 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**** > -- Regards, ---------------------------------------------- Trinath Somanchi, +91 9866 235 130
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp