← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1116467] Re: Unpredictable Dashboard behaviour.

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1116467

Title:
  Unpredictable Dashboard behaviour.

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  OpenStack Dashboard shows unpredictable behaviour when it is reloaded
  15-20 times. It works fine sometime while sometimes it throws the
  following error.

  ImportError at /

  cannot import name keystone

  Request Method: 	GET
  Request URL: 	http://localhost:10000/horizon/
  Django Version: 	1.4.1
  Exception Type: 	ImportError
  Exception Value:

  cannot import name keystone

  Exception Location: 	/usr/lib/python2.7/dist-packages/horizon/dashboards/settings/project/views.py in <module>, line 17
  Python Executable: 	/usr/bin/python
  Python Version: 	2.7.3
  Python Path:

  ['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-linux2',
   '/usr/lib/python2.7/lib-tk',
   '/usr/lib/python2.7/lib-old',
   '/usr/lib/python2.7/lib-dynload',
   '/usr/local/lib/python2.7/dist-packages',
   '/usr/lib/python2.7/dist-packages',
   '/usr/share/openstack-dashboard/',
   '/usr/share/openstack-dashboard/openstack_dashboard']

  Dashboard is installed using ubuntu packages.
  openstack-dashboard              2012.2.1-0ubuntu1~cloud0
  openstack-dashboard-ubuntu-theme  2012.2.1-0ubuntu1~cloud0
  python-django-horizon            2012.2.1-0ubuntu1~cloud0
  python-openstack-auth            1.0.1-0ubuntu6~cloud0

  Server: apache2

  root@be-openstack01:~# tail -f  /var/log/apache2/error.log
  [Thu Feb 07 13:44:06 2013] [error]     urlpatterns = self._get_default_urlpatterns()
  [Thu Feb 07 13:44:06 2013] [error]   File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 96, in _get_default_urlpatterns
  [Thu Feb 07 13:44:06 2013] [error]     urls_mod = import_module('.urls', package_string)
  [Thu Feb 07 13:44:06 2013] [error]   File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
  [Thu Feb 07 13:44:06 2013] [error]     __import__(name)
  [Thu Feb 07 13:44:06 2013] [error]   File "/usr/lib/python2.7/dist-packages/horizon/dashboards/settings/project/urls.py", line 19, in <module>
  [Thu Feb 07 13:44:06 2013] [error]     from .views import OpenRCView
  [Thu Feb 07 13:44:06 2013] [error]   File "/usr/lib/python2.7/dist-packages/horizon/dashboards/settings/project/views.py", line 17, in <module>
  [Thu Feb 07 13:44:06 2013] [error]     from horizon.api import keystone
  [Thu Feb 07 13:44:06 2013] [error] ImportError: cannot import name keystone

  
  Release: folsom

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1116467/+subscriptions