[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
** 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
This bug was fixed in the package glance - 2012.1.3+stable~20120821 -120fcf-0ubuntu1 --- glance (2012.1.3+stable~20120821-120fcf-0ubuntu1) precise-proposed; urgency=low * New upstream snapshot. (LP: #1041120) * Resynchronzie with stable/essex: - Glance add uploads a double image if using ssl and images is smaller than 4k. (LP: #1007093) - If response.environ is None, instance fails to spawn. (LP: #1010560) - exception.BadStoreURL exposes sensitive information to end users. (LP: #1012268) - glance-cache.conf needs metadata encryption key (LP: #1012752) - image.upload notification doesn't report size (LP: #1018246) - Admins should be able to share image regardless of ownership. (LP: #1021054) - Glance scrubber date formatting fails with postgres (LP: #1022369) - Support zero-size image creation. (LP: #1025353) - Image id not contained in swift chunk debug message. (LP: #1028433) - qpid_heartbeat setting is ineffective. (LP: #1032314) - Image properties that reference image ids are not updated to UUIDs. (LP: #975651) - Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases. (LP: #975655) - multiprocess glance-api failed to exit when stopped by ctrl+c. (LP: #978130) - /usr/bin/glance's built-in pager breaks redirection. (LP: #978610) - Content-Length and Transfer-Encoding are mutually exclusive HTTP headers (LP: #981332) - glance add command - incorrect help text (LP: #997565) * debian/patches/convert_properties_to_uuid.patch: Dropped no longer needed. * debian/patches/fix-pep8-ubuntu.patch: Dropped no longer needed. -- Adam GandelmanFri, 24 Jun 2012 03:14:33 -0400 ** Changed in: glance (Ubuntu Precise) Status: Confirmed => 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
Test coverage log. ** Attachment added: "2012.1.3+stable~20120821-120fcf-0ubuntu1.log" https://bugs.launchpad.net/bugs/975655/+attachment/3283205/+files/2012.1.3%2Bstable%7E20120821-120fcf-0ubuntu1.log ** 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
** 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
** Also affects: glance (Ubuntu Precise) Importance: Undecided Status: New ** 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
** 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
Reviewed: https://review.openstack.org/8598 Committed: http://github.com/openstack/glance/commit/b3df0a8f2728592081676db1580d53ea2c6ff0bd Submitter: Jenkins Branch:stable/essex commit b3df0a8f2728592081676db1580d53ea2c6ff0bd Author: Adam Gandelman Date: Fri Apr 6 20:59:39 2012 -0700 012_id_to_uuid: Also convert ramdisk + kernel ids The original migration converts numerical IDs to UUIDs. It updates image_members and image_properties that reference image_id, but stops short of updating actual properties that reference the new UUIDs, specifically kernel_ids and ramdisk_ids. This breaks launching of instances in Nova whos images are associated with a kernel and/or rd. Also, this fixes an issue when migrating against non-sqlite databases where the actual conversion is executed twice. Fixes bug 975655 Fixes bug 975651 Update: Only update kernel_ids and ramdisk_ids in image_properties when converting to UUIDs Change-Id: I76ecabc5ee266e2e9765740721e8ec1722cc5a7c ** Changed in: glance/essex Status: In Progress => 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
Fix proposed to branch: stable/essex Review: https://review.openstack.org/8598 ** Changed in: glance/essex Status: New => In Progress ** Changed in: glance/essex Assignee: (unassigned) => Eoghan Glynn (eglynn) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
** Also affects: glance/essex Importance: Undecided Status: New ** Changed in: glance/essex Importance: Undecided => Low ** 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
** Changed in: glance Status: Fix Committed => Fix Released ** Changed in: glance Milestone: None => folsom-1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
** Changed in: glance Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
Fixed in glance 2012.1-0ubuntu2. Cherry-picked patch from stable/essex until first stable update https://review.openstack.org/#change,6061 ** Changed in: glance (Ubuntu) Status: Triaged => Fix Released ** Tags removed: ubuntu-openstack-upgrade -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
Reviewed: https://review.openstack.org/6343 Committed: http://github.com/openstack/glance/commit/e4d04f50adc2426f08872b0cececfe48f1d18683 Submitter: Jenkins Branch:master commit e4d04f50adc2426f08872b0cececfe48f1d18683 Author: Adam Gandelman Date: Fri Apr 6 20:59:39 2012 -0700 012_id_to_uuid: Also convert ramdisk + kernel ids The original migration converts numerical IDs to UUIDs. It updates image_members and image_properties that reference image_id, but stops short of updating actual properties that reference the new UUIDs, specifically kernel_ids and ramdisk_ids. This breaks launching of instances in Nova whos images are associated with a kernel and/or rd. Also, this fixes an issue when migrating against non-sqlite databases where the actual conversion is executed twice. Fixes bug 975655 Fixes bug 975651 Update: Only update kernel_ids and ramdisk_ids in image_properties when converting to UUIDs Change-Id: I76ecabc5ee266e2e9765740721e8ec1722cc5a7c ** Changed in: glance Status: In Progress => 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/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 975655] Re: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases
Fix proposed to branch: master Review: https://review.openstack.org/6343 ** Changed in: glance Status: New => In Progress ** Changed in: glance Assignee: (unassigned) => Adam Gandelman (gandelman-a) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/975655 Title: Migration 012_id_to_uuid attempts to convert IDs twice for non-sqlite databases To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/975655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs