[Bug 1800601] Re: [SRU] Infinite recursion in Python 3

Timo Aaltonen tjaalton at ubuntu.com
Fri Nov 9 10:37:03 UTC 2018


Hello Thomas, or anyone else affected,

Accepted glance into cosmic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/glance/2:17.0.0-0ubuntu4.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-cosmic to verification-done-cosmic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-cosmic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: glance (Ubuntu Cosmic)
       Status: Triaged => Fix Committed

** Tags added: verification-needed verification-needed-cosmic

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1800601

Title:
  [SRU] Infinite recursion in Python 3

Status in Ubuntu Cloud Archive:
  Triaged
Status in Ubuntu Cloud Archive rocky series:
  Triaged
Status in Glance:
  Fix Released
Status in glance package in Ubuntu:
  Triaged
Status in glance source package in Cosmic:
  Fix Committed
Status in glance source package in Disco:
  Triaged

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]
  Deploy the glance charm on bionic then upgrade it to rocky by updating the
  openstack-origin to cloud:bionic-rocky/proposed 

  [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



More information about the Ubuntu-openstack-bugs mailing list