Change to wsgi script for Apache breaks Gunicorn setup
Bug #1689943 reported by
Winson Chan
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 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/463870 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=b6de4720db0 c0e23ac2bd6d26b 585c8dc8ca612d
Committed: https:/
Submitter: Jenkins
Branch: master
commit b6de4720db0c0e2 3ac2bd6d26b585c 8dc8ca612d
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 api.wsgi be called as a python script. This patch moves the init
setup loads the mistral.api.wsgi module and requires the application
variable be assigned. The support for apache make the assumption that the
mistral.
function required by apache to a different location.
Change-Id: Ib5af50a55d3f3b b9d0fa0d1ee6b8e 7564f909d70
Closes-Bug: #1689943