oslo.middleware.sizelimit configuration conflict

Bug #1368490 reported by Richard Jones
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Unassigned
oslo.middleware
Fix Released
High
Davanum Srinivas (DIMS)

Bug Description

If the oslo.middleware package is installed in a keystone installation and any of the middleware in it included in keystone's pipeline then the application will error with a configuration conflict due to oslo.middleware.sizelimit adding the configuration option max_request_body_size which is already added by the keystone middleware RequestBodySizeLimiter.

This ultimately blocks keystone from using oslo.middleware. Whether it's a bug in oslo or in keystone is debatable, but the bug had to be filed somewhere :)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

We should namespace all of the oslo options so they don't end up in the default group used by applications. We should also ensure that all of our options are only being registered at runtime, so conflicts would only arise if we did have 2 sections of code trying to use the same option name in different ways.

Changed in oslo.middleware:
milestone: none → next-kilo
status: New → Triaged
importance: Undecided → High
Revision history for this message
Steve Martinelli (stevemar) wrote :

From what I can tell this isn't a Keystone bug, but I appreciate the heads up. If I'm wrong, let me know.

Changed in keystone:
status: New → Invalid
Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

I think this is the related change: https://review.openstack.org/#/c/125211/

Changed in oslo.middleware:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: Triaged → Fix Committed
gordon chung (chungg)
Changed in oslo.middleware:
status: Fix Committed → Fix Released
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.