[PKG-Openstack-devel] Issue with django 1.7?

Thomas Goirand zigo at debian.org
Thu Oct 16 18:22:39 UTC 2014


On 10/17/2014 12:03 AM, Alberto Molina Coballes wrote:
> 2014-10-16 17:00 GMT+02:00 Thomas Goirand <zigo at debian.org
> <mailto:zigo at debian.org>>:
> 
>     Hi Alberto,
> 
>     According to Julie Pichon in the #openstack-horizon channel in Freenode,
>     the issue is that we should do:
> 
>     from django.core.wsgi import get_wsgi_application
>     application = get_wsgi_application()
> 
>     Instead of:
> 
>     import django.core.handlers.wsgi
>     application = django.core.handlers.wsgi.WSGIHandler()
> 
>     in:
> 
>     openstack_dashboard/wsgi/django.wsgi
> 
>     This has been commited upstream in here:
>     https://review.openstack.org/#/c/128911/
> 
>     You can test this out yourself. I'm currently testing it right now, and
>     probably will add this as a Debian patch if this fixes the issue.
> 
>     Cheers,
> 
>     Thomas Goirand (zigo)
> 
> 
> Great!
> 
> This patch solves it and 500 error message no longer appears
> 
> Nothing wrong in /var/log/apache2/error.log
> 
> Thank you again Thomas!
> 
> Alberto

I uploaded a fixed version for Icehouse.

Oh... and I also uploaded all of Juno! :)

Cheers,

Thomas




More information about the Openstack-devel mailing list