_retrieve_extra_groups in Nicira plugin incompatible with oslo.config >= 1.2.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned | ||
Grizzly |
Fix Released
|
Undecided
|
Armando Migliaccio |
Bug Description
./quantum/
def _retrieve_
"""retrieve configuration groups not listed above."""
results = []
for parsed_file in cfg.CONF.
for parsed_item in parsed_file.keys():
if parsed_item not in cfg.CONF:
if not key or key == items[0]:
return results
Recently, _cparser has been renamed/removed as the implementation in oslo.config was changed by Mark. since then this code fails.
The code needs to be adopted in order to handle newer oslo.config versions. See bug 1196084 for details.
(this is for Grizzly branch only, dunno how to tag it properly)