[Bug 1796163] Re: py3 failure cfg.py - dictionary changed size during iteration
Corey Bryant
corey.bryant at canonical.com
Thu Oct 4 19:40:18 UTC 2018
I went with a minimal fix on this. There are other uses of d.keys() in
oslo.config but I'm not sure which ones modify the dictionary during
iteration. Could change all uses to list(d.keys()) but that would
somewhat defeat the purpose of the PEP.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-oslo.config in Ubuntu.
https://bugs.launchpad.net/bugs/1796163
Title:
py3 failure cfg.py - dictionary changed size during iteration
Status in oslo.config:
In Progress
Status in python-oslo.config package in Ubuntu:
Triaged
Status in python-oslo.config source package in Cosmic:
Triaged
Bug description:
We came across the following issue while function testing keystone
with py3: https://paste.ubuntu.com/p/d7s6KKPQDG/
File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line 2652, in __iter__
for key in itertools.chain(self._opts.keys(), self._groups.keys()):
RuntimeError: dictionary changed size during iteration
To manage notifications about this bug go to:
https://bugs.launchpad.net/oslo.config/+bug/1796163/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list