Horizon: "End of script output before headers: django.wsgi"

Bug #1717922 reported by Peter Grandi on 2017-09-18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Pierre Hanselmann

Bug Description

After installing Kolla 5.0.0 for 'centos' ('all-in-one', fairly minimal) Horizon is not accessible, and the logs contain the error:

> End of script output before headers: django.wsgi

This is a known issue in Launchpad bug 1573488 where the WSGI configuration is missing the directive "WSGIApplicationGroup %{GLOBAL}" after "WSGIProcessGroup" in the template:


Of all WSGI configuration templates it is the only one that does not have the "WSGIApplicationGroup" line.

Same issue here.
I've added the directive "WSGIApplicationGroup %{GLOBAL}" and it solved the issue.
Could we fix it? Is it a normal behavior? I'm not used to work with WSGI...

Changed in kolla:
status: New → Confirmed
Changed in kolla:
status: Confirmed → Fix Committed
affects: kolla → kolla-ansible

Fix proposed to branch: master
Review: https://review.openstack.org/508094

Changed in kolla-kubernetes:
assignee: nobody → Pierre Hanselmann (pierre-hanselmann)
status: New → In Progress

Reviewed: https://review.openstack.org/507121
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=c5f991771395708c1be0a4cd8ae7da72a4ca0aed
Submitter: Jenkins
Branch: stable/pike

commit c5f991771395708c1be0a4cd8ae7da72a4ca0aed
Author: Pierre Hanselmann <email address hidden>
Date: Wed Sep 20 11:19:07 2017 +0200

    WSGI configuration missing directive

    WSGI configuration is missing the directive
    "WSGIApplicationGroup %{GLOBAL}" after
    WSGIProcessGroup" in the horizon template.
    Of all WSGI configuration templates it is
    the only one that does not have the
    "WSGIApplicationGroup" line.

    Change-Id: I3001901abbaae842f49179b6febf844337431afc
    Closes-Bug: #1717922
    (cherry picked from commit 8298afef017ef4e4cc84b12d0fa530010319bd7e)

tags: added: in-stable-pike
Changed in kolla-ansible:
assignee: nobody → Pierre Hanselmann (pierre-hanselmann)

Change abandoned by Pierre Hanselmann (<email address hidden>) on branch: master
Review: https://review.openstack.org/508094
Reason: not involved in kubernetes for now...

no longer affects: kolla-kubernetes
Changed in kolla-ansible:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers