Any import of middleware emits DeprecationWarning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.middleware |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
For example, neutron's test logs are filled with:
2016-10-02 06:51:44.072206 | /home/jenkins/
2016-10-02 06:51:44.072236 | "oslo_middlewar
Neutron is not making any attempt to use oslo_middleware.ssl
The warning is due to the import of ssl.SSLMiddleware from __init__:
File "neutron/
from neutron.api import api_common
File "neutron/
from neutron import wsgi
File "neutron/wsgi.py", line 42, in <module>
from neutron.common import config
File "neutron/
from oslo_middleware import cors
File ".tox/py27/
from oslo_middleware.ssl import SSLMiddleware
File ".tox/py27/
"oslo_
description: | updated |
Changed in oslo.middleware: | |
assignee: | Henry Gessau (gessau) → nobody |
status: | In Progress → New |
Changed in oslo.middleware: | |
status: | New → Fix Released |
https:/ /review. openstack. org/380839