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

Bug #1717922 reported by Peter Grandi on 2017-09-18
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Undecided
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:

kolla-ansible/ansible/roles/horizon/templates/horizon.conf.j2

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

This issue was fixed in the openstack/kolla-ansible 6.0.0.0b2 development milestone.

This issue was fixed in the openstack/kolla-ansible 5.0.1 release.

Review in progress for https://review.opencontrail.org/41045
Submitter: Ramprakash R (<email address hidden>)

Reviewed: https://review.opencontrail.org/41045
Committed: http://github.com/Juniper/contrail-kolla-ansible/commit/6197b697805cf6eed59375a662c9c2897162bd05
Submitter: Zuul v3 CI (<email address hidden>)
Branch: contrail/ocata

commit 6197b697805cf6eed59375a662c9c2897162bd05
Author: Ramprakash Ram Mohan <email address hidden>
Date: Sat Mar 24 01:13:37 2018 -0700

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers