Don't assume everyone uses `CONF`
Bug #1406218 reported by
Flavio Percoco
This bug report is a duplicate of:
Bug #1482078: keystonemiddleware broken if paste and not the oslo.config global object is used.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystonemiddleware |
In Progress
|
Medium
|
Flavio Percoco |
Bug Description
Recent changes in keystonemiddleware assume everyone is using a global `CONF` object. This, thankfully enough, is not true and KSM shouldn't assume so
affects: | tempest → keystonemiddleware |
Changed in keystonemiddleware: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in keystonemiddleware: | |
status: | Triaged → In Progress |
To post a comment you must log in.
Can you be more specific about what is broken and where so that we can correct this? This bug report is fairly non-specific. We have in one-form or another relied on the cfg object from oslo.config.
I believe the changes that you are referencing are related to enforcing type on the config options. Config options from paste-ini were being interpreted as the wrong type due to this limitation. Assuming an option can be passed from paste-ini and be handled prior to the fixes i'm assuming that caused this bug was unreliable.
We need a way to register the config options with the recognized configuration object(s).
More information will help us to address the concerns.