wsgi.py is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Adrian Turjak |
Bug Description
Horizon was likely started very early along with Django, and thus has the old format wsgi file as "django.wsgi".
https:/
This is not how django names this file anymore, nor how it is really used.
https:/
https:/
The expectation is having a wsgi.py file somewhere along your importable python path. Normally this is in the same place as your settings.py file when building a default django project.
Ideally we should rename and move the file to a place it is easier to import from:
horizon/
gunicorn cannot import and run it because it isn't a '.py' file, and is one of the most popular wsgi servers around.
By doing the above move and rename the file can now be imported and run as:
gunicorn openstack_
NOTE: This will likely break anyone using it right now. We may instead want to copy the file to the new location and add a deprecation log into the old one with a notice to remove in 2 cycles. Ideally also document that deployers should be using the new file.
Changed in horizon: | |
importance: | Undecided → High |
milestone: | none → rocky-2 |
Fix proposed to branch: master /review. openstack. org/561802
Review: https:/