yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36302
[Bug 1479943] [NEW] XmlBodyMiddleware stubs break existing configs
Public bug reported:
The Kilo Keystone release dropped support for requests with XML bodies,
but included shims to (presumably) prevent existing configs from
breaking. This works as desired for XmlBodyMiddleware, but not
XmlBodyMiddlewareV2 and XmlBodyMiddlewareV3. As a result, all client
requests to a pipeline with either of those filters will receive a 500
response and the server's logs look like
2015-07-30 19:06:57.029 22048 DEBUG keystone.middleware.core [-] RBAC: auth_context: {} process_request /vagrant/swift3/.tox/keystone/local/lib/python2.7/site-packages/keystone/middleware/core.py:239
2015-07-30 19:06:57.029 22048 ERROR keystone.common.wsgi [-] 'XmlBodyMiddlewareV2' object has no attribute 'application'
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi Traceback (most recent call last):
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi File "/vagrant/swift3/.tox/keystone/local/lib/python2.7/site-packages/keystone/common/wsgi.py", line 452, in __call__
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi response = request.get_response(self.application)
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi AttributeError: 'XmlBodyMiddlewareV2' object has no attribute 'application'
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi
2015-07-30 19:06:57.055 22048 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [30/Jul/2015 19:06:57] "GET /v2.0/tenants HTTP/1.1" 500 423 0.027812
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1479943
Title:
XmlBodyMiddleware stubs break existing configs
Status in Keystone:
New
Bug description:
The Kilo Keystone release dropped support for requests with XML
bodies, but included shims to (presumably) prevent existing configs
from breaking. This works as desired for XmlBodyMiddleware, but not
XmlBodyMiddlewareV2 and XmlBodyMiddlewareV3. As a result, all client
requests to a pipeline with either of those filters will receive a 500
response and the server's logs look like
2015-07-30 19:06:57.029 22048 DEBUG keystone.middleware.core [-] RBAC: auth_context: {} process_request /vagrant/swift3/.tox/keystone/local/lib/python2.7/site-packages/keystone/middleware/core.py:239
2015-07-30 19:06:57.029 22048 ERROR keystone.common.wsgi [-] 'XmlBodyMiddlewareV2' object has no attribute 'application'
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi Traceback (most recent call last):
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi File "/vagrant/swift3/.tox/keystone/local/lib/python2.7/site-packages/keystone/common/wsgi.py", line 452, in __call__
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi response = request.get_response(self.application)
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi AttributeError: 'XmlBodyMiddlewareV2' object has no attribute 'application'
2015-07-30 19:06:57.029 22048 TRACE keystone.common.wsgi
2015-07-30 19:06:57.055 22048 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [30/Jul/2015 19:06:57] "GET /v2.0/tenants HTTP/1.1" 500 423 0.027812
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1479943/+subscriptions
Follow ups