This bug was fixed in the package glance - 2:17.0.0-0ubuntu4.1~cloud0
---------------
glance (2:17.0.0-0ubuntu4.1~cloud0) bionic-rocky; urgency=medium
.
* New update for the Ubuntu Cloud Archive.
.
glance (2:17.0.0-0ubuntu4.1) cosmic; urgency=medium
.
* d/gbp.conf: Create stable/rocky branch.
* d/p/fix-py3-recursion.patch: Cherry-picked from upstream master branch to
fix error with infinite recursion under Python 3 (LP: #1800601).
** Changed in: cloud-archive
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1800601
Title:
[SRU] Infinite recursion in Python 3
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive rocky series:
Fix Released
Status in Glance:
Fix Released
Status in glance package in Ubuntu:
Fix Released
Status in glance source package in Cosmic:
Fix Released
Status in glance source package in Disco:
Fix Released
Bug description:
Hi,
When running unit tests under Python 3.7 when building the Rocky
Debian package in Sid, I get a never ending recursion. Please see the
Debian bug report:
https://bugs.debian.org/911947
Basically, it's this:
| File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in
keys
| return dict(self).keys()
| File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in
keys
| return dict(self).keys()
| File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in
keys
| return dict(self).keys()
| RecursionError: maximum recursion depth exceeded while calling a Python
object
== Ubuntu SRU details ==
[Impact]
An infinite recursion error occurs when running Python 3.6 glance from rocky.
This issue has also been seen when running python 3.7 unit tests.
The error has also been seen in a Rocky deployment and causes the glance api
service to return 500 errors.
[Test Case]
Bionic (cloud-archive): Deploy the glance charm on bionic then upgrade it to
rocky by updating the openstack-origin to cloud:bionic-rocky/proposed
Cosmic: Note that for cosmic we don't have the ability to test an upgrade
from queens to rocky like we can on bionic so we'll just manually test the
python3 code.
[Regression Potential]
Fairly low. The patch is a minimal fix and will be fully exercised by the
OpenStack charms team.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp