[Bug 1796163] Re: py3 failure cfg.py - dictionary changed size during iteration

Launchpad Bug Tracker 1796163 at bugs.launchpad.net
Fri Oct 5 06:24:35 UTC 2018


This bug was fixed in the package python-oslo.config - 1:6.4.0-0ubuntu2

---------------
python-oslo.config (1:6.4.0-0ubuntu2) cosmic; urgency=medium

  * d/p/py3-ensure-iter-list.patch: Ensure ConfigOpts __iter__ uses
    list(d.keys()) as d.keys() no longer returns a copy of keys in py3
    (LP: #1796163).

 -- Corey Bryant <corey.bryant at canonical.com>  Thu, 04 Oct 2018 15:52:48
-0400

** Changed in: python-oslo.config (Ubuntu Cosmic)
       Status: Triaged => 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:
  In Progress
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