← Back to team overview

openstack team mailing list archive

Re: Dashboard/horizon PRODUCTION bug

 

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@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx] 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@01CDEF1D.ABEFEC50]
Aptira Pty Ltd
1800 APTIRA
aptira.com<http://www.aptira.com>
Follow @aptira<https://twitter.com/#/aptira>

JPEG image


Follow ups

References