[Openstack] Dashboard/horizon PRODUCTION bug

Gabriel Hurley Gabriel.Hurley at nebula.com
Thu Jan 10 18:31:38 UTC 2013


I haven't heard a report like this from anyone else. Looking at your patch it looks like you're having problems with the sub-module imports for some reason, which sounds to me like a Python problem. Is there anything unusual about your version of Python? Any unusual/duplicate packages on your python path that might be causing name conflicts/import errors?


-          Gabriel


From: openstack-bounces+gabriel.hurley=nebula.com at lists.launchpad.net [mailto:openstack-bounces+gabriel.hurley=nebula.com at lists.launchpad.net] On Behalf Of Sina Sadeghi
Sent: Wednesday, January 09, 2013 7:54 PM
To: openstack
Subject: [Openstack] Dashboard/horizon PRODUCTION bug

I just upgraded the openstack-dashboard we are using to the latest version provided by Ubuntu Cloud Archive. There were multiple bugs causing "Internal Server Error" which I had to patch manually to rectify, I couldn't see anyone reporting the same errors after a brief google search.

Can someone examine the patch provided and please confirm whether they have this issue or not? I'm running Ubuntu 12.04 with Folsom installed using the Ubuntu Cloud Archive.

# dpkg -l | grep -e 'openstack\|horizon'
ii  openstack-dashboard              2012.2-0ubuntu2~cloud0       django web interface to Openstack
ii  openstack-dashboard-ubuntu-theme 2012.2-0ubuntu2~cloud0       Ubuntu theme for the Openstack dashboard
ii  python-django-horizon            2012.2-0ubuntu2~cloud0       Django module providing web based interaction with OpenStack
ii  python-django-openstack          2012.2-0ubuntu2~cloud0       dummy transitonal package from python-django-openstack to python-django-horizon
ii  python-openstack-auth            1.0.1-0ubuntu6~cloud0        A django authentication backend for Openstack

I have attached the main patch I had to apply to get dashboard working again, but I also had to patch: /usr/lib/python2.7/dist-packages/horizon/dashboards/settings/project/views.py  to change "from horizon.api import keystone" to "from horizon.api import keystoneclient" as well. If this is an actual bug I'm happy to file and supply the patch as appropriate.




--

--
Sina Sadeghi
Lead Cloud Engineer
[cid:image001.jpg at 01CDEF1D.ABEFEC50]
Aptira Pty Ltd
1800 APTIRA
aptira.com<http://www.aptira.com>
Follow @aptira<https://twitter.com/#/aptira>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130110/9d382ea2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 15934 bytes
Desc: image001.jpg
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130110/9d382ea2/attachment.jpg>


More information about the Openstack mailing list