[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
** Description changed: 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. + + [Test Case] + + + [Regression Potential] + Fairly low. The patch is a minimal fix and will be fully exercised by the OpenStack charms team. ** Also affects: cloud-archive/rocky Importance: Undecided Status: New ** Changed in: cloud-archive/rocky Status: New => Triaged ** Changed in: cloud-archive/rocky Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
Just to be clear, when I say I'm hitting it I mean I'm hitting it on a deployed system, not just in unit tests. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
** Description changed: 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. + 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
The patched version of glance for rocky has been uploaded to the cosmic unapproved queue: https://launchpad.net/ubuntu/cosmic/+queue?queue_state=1&queue_text= -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
** Changed in: cloud-archive Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
Hello Thomas, or anyone else affected, Accepted glance into rocky-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository. Please help us by testing this new package. To enable the -proposed repository: sudo add-apt-repository cloud-archive:rocky-proposed sudo apt-get update 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-rocky-needed to verification-rocky-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-rocky-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Tags added: verification-rocky-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
** Description changed: 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 + 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
Verified successfully on cosmic: https://paste.ubuntu.com/p/DtTXZ2FYdW/ ** Tags removed: verification-needed-cosmic ** Tags added: verification-done-cosmic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
This is fixed in disco in glance 2:18.0.0~b1~git20181108.97dac0f3-0ubuntu1. ** Changed in: glance (Ubuntu Disco) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
I have successfully run the mojo spec which was failing (specs/full_stack/next_openstack_upgrade/queens). This boots an instance on rocky which indirectly queries glance: https://pastebin.canonical.com/p/7sVjF6QSNm/ ** Tags removed: verification-rocky-needed ** Tags added: verification-rocky-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
This bug was fixed in the package glance - 2:17.0.0-0ubuntu4.1 --- 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). -- Corey Bryant Wed, 31 Oct 2018 13:55:56 -0400 ** Changed in: glance (Ubuntu Cosmic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
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/rocky Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
Reviewed: https://review.openstack.org/616639 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=2bcd6c66629a06afdfcd32ff7892c5571bbe0573 Submitter: Zuul Branch:stable/rocky commit 2bcd6c66629a06afdfcd32ff7892c5571bbe0573 Author: James Page Date: Fri Nov 2 10:10:49 2018 + py3: fix recursion issue under py37 Add tox target and resolve issue with infinite recursion in ExtraProperties class by directly using methods on the dict class. Closes-Bug: 1800601 Change-Id: Ie98c4287c8bd1c364655adb99c7a88d1d451496e (cherry picked from commit 43587fb93d8d949d9a9895153ac06ea4e7e6d150) ** Tags added: in-stable-rocky -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1800601] Re: [SRU] Infinite recursion in Python 3
** Changed in: glance Milestone: None => stein-1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1800601 Title: [SRU] Infinite recursion in Python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs