yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05845
[Bug 1200609] Re: _retrieve_extra_groups in Nicira plugin incompatible with oslo.config >= 1.2.0
** Changed in: neutron/grizzly
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1200609
Title:
_retrieve_extra_groups in Nicira plugin incompatible with oslo.config
>= 1.2.0
Status in OpenStack Neutron (virtual network service):
Invalid
Status in neutron grizzly series:
Fix Released
Bug description:
./quantum/plugins/nicira/nicira_nvp_plugin/common/config.py includes
this code:
def _retrieve_extra_groups(conf, key=None, delimiter=':'):
"""retrieve configuration groups not listed above."""
results = []
for parsed_file in cfg.CONF._cparser.parsed:
for parsed_item in parsed_file.keys():
if parsed_item not in cfg.CONF:
items = key and parsed_item.split(delimiter)
if not key or key == items[0]:
results.append(parsed_item)
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1200609/+subscriptions