Running Horizon with Gunicorn

Normally I use Horizon with Apache2 and mod_wsgi. During the search for alternatives I stumbled upon Gunicorn and gave it a try.

Gunicorn ‘Green Unicorn’ is a Python WSGI HTTP Server for UNIX. It’s a pre-fork worker model ported from Ruby’s Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy.

For SLES11 SP3 and openSUSE 12.3 the necessary package python-gunicorn is available in the project devel:languages:python on the openSUSE Build Service.

After installing python-gunicorn and openstack-dashboard, latest Horizon is available in the project Cloud:OpenStack:Master, Gunicorn can be started as follows.

# gunicorn_django -D /usr/share/openstack-dashboard/

Gunicorn is listening on localhost:8000 by default and Apache2 can be used for proxying requests. Or have a look at Nginx.

One thought on “Running Horizon with Gunicorn”

  1. It is truly a nice and helpful piece of info. I am happy that you shared this helpful info with us. Please stay us informed like this. Thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>