Submitted review request for django-horizon (openstack dashboard)

Cole Robinson crobinso at redhat.com
Tue Jan 31 00:39:58 UTC 2012


Hi all, I've submitted a review request for django-horizon, the django module
for talking to Openstack. This contains the openstack-dashboard subpackage
which is the web UI implementation (basically the openstack shiny goodness) :)

I'm hitting an annoying problem though. The httpd+wsgi integration allows the
dashboard to start up, but I can't log in, the UI just reports that I'm 'not
authorized to view /syspanel' (which is the screen it generally dumps the
admin user to after login). Some debugging shows that we are successfully
authenticating, but it seems like the code is reinvoked several times which
stomps our http_session ID and horizon forgets about our authentication before
we can advance to the next screen. The package works fine if you use a django
style manage.py script, so it doesn't seem to be anything fundamentally busted.

Here's the file I'm dropping in /etc/httpd/conf.d:
$ cat /etc/httpd/conf.d/openstack-dashboard.conf
WSGIDaemonProcess openstack-dashboard
WSGIScriptAlias / /usr/share/openstack-dashboard/dashboard/wsgi/django.wsgi

<Directory /usr/share/openstack-dashboard/dashboard/wsgi>
  Order allow,deny
  Allow from all
</Directory>

Any pointers appreciated. And here's the review if anyone wanted to poke at it:

https://bugzilla.redhat.com/show_bug.cgi?id=785946

Thanks,
Cole



More information about the cloud mailing list