[Bug 1796163] Re: py3 failure cfg.py - dictionary changed size during iteration
OpenStack Infra
1796163 at bugs.launchpad.net
Fri Oct 5 12:46:00 UTC 2018
Reviewed: https://review.openstack.org/608064
Committed: https://git.openstack.org/cgit/openstack/oslo.config/commit/?id=7ad146c48791bebee12fbdcdb1ac2427237343c3
Submitter: Zuul
Branch: master
commit 7ad146c48791bebee12fbdcdb1ac2427237343c3
Author: Corey Bryant <corey.bryant at canonical.com>
Date: Thu Oct 4 15:29:36 2018 -0400
python3: Ensure ConfigOpts __iter__ uses list(d.keys())
d.keys() no longer returns a copy of the keys in Python 3.
This is part of PEP 3106.
Change-Id: Ie4897109c87d6dc2952c2eb35b83fe368fb31803
Closes-Bug: #1796163
** Changed in: oslo.config
Status: In Progress => Fix Released
--
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:
Fix Released
Status in python-oslo.config package in Ubuntu:
Fix Released
Status in python-oslo.config source package in Cosmic:
Fix Released
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