[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Changed in: glance Milestone: folsom-1 = 2012.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
This bug was referenced in the changelog of glance 2012.1+stable~20120608-5462295-0ubuntu2.2 in error, having already been fixed in SRU. Marking verification-done. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Changed in: glance/essex Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to glance in Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Changed in: glance/essex 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/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Also affects: glance/essex Importance: Undecided Status: New ** Changed in: glance/essex Status: New = Fix Committed ** Changed in: glance/essex Milestone: None = 2012.1.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Hello Eoghan, or anyone else affected, Accepted glance into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags removed: verification-done ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
This bug was fixed in the package glance - 2012.1-0ubuntu2.1 --- glance (2012.1-0ubuntu2.1) precise-proposed; urgency=low * debian/patches/swift_auth_url_trailing_slash.patch: Ensure swift auth URL includes trailing slash (LP: #979745). Backported from stable/essex, can be dropped with first upstream stable update. -- Adam Gandelman ad...@canonical.com Wed, 23 May 2012 16:19:50 -0700 ** Changed in: glance (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to glance in Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
This bug was fixed in the package glance - 2012.1-0ubuntu2.1 --- glance (2012.1-0ubuntu2.1) precise-proposed; urgency=low * debian/patches/swift_auth_url_trailing_slash.patch: Ensure swift auth URL includes trailing slash (LP: #979745). Backported from stable/essex, can be dropped with first upstream stable update. -- Adam Gandelman ad...@canonical.com Wed, 23 May 2012 16:19:50 -0700 ** Changed in: glance (Ubuntu Precise) 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/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Hello Eoghan, or anyone else affected, Accepted glance into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: glance (Ubuntu Precise) Status: Triaged = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Branch linked: lp:ubuntu/precise-proposed/glance -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
I have these packages installed: root@warthog:~# dpkg --list | grep glance ii glance 2012.1-0ubuntu2.1 OpenStack Image Registry and Delivery Service - Daemons ii glance-api 2012.1-0ubuntu2.1 OpenStack Image Registry and Delivery Service - API ii glance-client2012.1-0ubuntu2.1 OpenStack Image Registry and Delivery Service - Registry ii glance-common2012.1-0ubuntu2.1 OpenStack Image Registry and Delivery Service - Common ii glance-registry 2012.1-0ubuntu2.1 OpenStack Image Registry and Delivery Service - Registry ii python-glance2012.1-0ubuntu2.1 OpenStack Image Registry and Delivery Service - Python library I can confirm that the problem does not appear anymore with these packages. Thanks for the great work, guys! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
glance 2012.1-0ubuntu2.1 awaiting approval for upload into -proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Fixed upstream and released into Quantal in glance 2012.2~f2~20120524.1541-0ubuntu1 ** Changed in: glance (Ubuntu Quantal) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to glance in Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: glance (Ubuntu Precise) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Changed in: glance (Ubuntu Quantal) Milestone: precise-updates = quantal-alpha-1 ** Changed in: glance (Ubuntu Precise) Milestone: None = precise-updates ** Changed in: glance (Ubuntu Precise) Importance: Undecided = High ** Changed in: glance (Ubuntu Quantal) Importance: Undecided = High ** Changed in: glance (Ubuntu Precise) Status: Confirmed = Triaged ** Changed in: glance (Ubuntu Quantal) Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Fixed upstream and released into Quantal in glance 2012.2~f2~20120524.1541-0ubuntu1 ** Changed in: glance (Ubuntu Quantal) 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/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Description changed: When the swift backend store is in use, with the keystone auth strategy enabled, and delayed_delete configured false, image deletion in glance leads to the corresponding swift object being leaked. This results from the attempted object deletion in glance/store/swift.py failing silently with: - Auth GET failed: http://keystone_host:5000/tokens 404 Not Found + Auth GET failed: http://keystone_host:5000/tokens 404 Not Found The root cause is that the auth url associated with the swift connection used for deletion is missing a trailing forward slash. + + Ubuntu SRU Justification + - + [Impact] + When Glance is configured to use Swift as a backend store and when Keystone authentication is enabled, requests are sent to the Keystone Auth URL without a trailing slash. This results in 404s from the Keystone API server, causing authentication requests in Glance's swift client middleware to fail. The original report cites situations where image deletion silently fails, though others report this completely breaks Swift+Glance integration. + + [Development Fix] + This issue has been fixed since the release of Essex and has been released in the first Openstack Folsom milestone (f1) https://review.openstack.org/6480 + + [Stable Fix] + The fix has been backported upstream to the stable/essex branch. Cherry picking the commit and applying it to the Essex/12.04 packaging should be enough to fix the issue. http://bazaar.launchpad.net/~gandelman-a/ubuntu/precise/glance/sru_979745/revision/52 + + [Test Case] + Configure glance to use Swift as a backing store with Keystone authentication. Uploading, deleting and getting images should result in 404s from Keystone for requests to the configured auth URL. + + [Regression Potential] + Minimal. The patch simply formats the keystone URL appropriately within Glance's swift client code. This code path is not hit unless the glance server is configured to use a Keystone-authenticated Swift backend. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Changed in: glance Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to glance in Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Changed in: glance 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/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Hi Martin, This fix has already been backported into Fedora/EPEL essex packages. Can you request that the Ubuntu package maintainers do the same? The first stable/essex release has not occurred as yet - the stable- maint team plan to do a release, but have not set a hard date as yet for this. Cheers, Eoghan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
On it, doing my best :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: glance (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Changed in: glance (Ubuntu) Milestone: None = precise-updates ** Also affects: glance (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: glance (Ubuntu Quantal) Importance: Undecided Status: Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
** Branch linked: lp:~gandelman-a/ubuntu/precise/glance/sru_979745 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Hi there, the problem still exists; before long was 20 days ago and using Glance+Swift is still impossible on Ubuntu 12.04 LTS without this patch. Can somebody of the Ubuntu team please get hold of the issue and at least release appropriately patched Glance packages? Best regards Martin ** Also affects: glance (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 979745] Re: with keystone auth, image objects left behind in swift post-deletion
Added the Ubuntu glance package to the list of affected pieces of software to make Ubuntu packagers aware of this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/979745 Title: with keystone auth, image objects left behind in swift post-deletion To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/979745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs