Change to wsgi script for Apache breaks Gunicorn setup

Bug #1689943 reported by Winson Chan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Winson Chan

Bug Description

Gunicorn requires the wsgi module to have application variable setup. The change made support Apache assumes the wsgi module is executed as script and breaks Gunicorn setup for the API.

Changed in mistral:
milestone: none → pike-2
assignee: nobody → Winson Chan (winson-c-chan)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/463870
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=b6de4720db0c0e23ac2bd6d26b585c8dc8ca612d
Submitter: Jenkins
Branch: master

commit b6de4720db0c0e23ac2bd6d26b585c8dc8ca612d
Author: Winson Chan <email address hidden>
Date: Wed May 10 21:31:42 2017 +0000

    Fix WSGI script for gunicorn

    The previous patch to add support for apache breaks gunicorn. The gunicorn
    setup loads the mistral.api.wsgi module and requires the application
    variable be assigned. The support for apache make the assumption that the
    mistral.api.wsgi be called as a python script. This patch moves the init
    function required by apache to a different location.

    Change-Id: Ib5af50a55d3f3bb9d0fa0d1ee6b8e7564f909d70
    Closes-Bug: #1689943

Changed in mistral:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 5.0.0.0b2

This issue was fixed in the openstack/mistral 5.0.0.0b2 development milestone.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.