python-migrate is broken with PostgreSQL and SQLAlchemy 0.8

Bug #1261563 reported by Lance Cooper on 2013-12-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
migrate (Ubuntu)

Bug Description

Glance is broken when used with a PostgreSQL database.

[Test Case]
sudo apt-get install glance postgresql
* create PostgreSQL database for glance and configure glance
sudo glance-manage sync_db

[Regression Potential]
Fix now accepted upstream and in the version in trusty; also in fedora packages for migrate. Limited regression potential.

[Original Bug Report]
The problem occurs when trying to run 'glance-manage sync_db' with a PostgreSQL database.

This was reported to the Fedora BTS at . At least Glance is impacted, while Keystone is not. I can confirm that rebuilding the current version of migrate in the cloud-archive repository (0.7.2-6~cloud0) with the patch attached to comment #7 on the thread linked above resolves the issue. Please let me know if you need any additional information.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-migrate 0.7.2-6~cloud0 [origin: Canonical]
ProcVersionSignature: Ubuntu 3.2.0-57.87-virtual 3.2.52
Uname: Linux 3.2.0-57-virtual x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
CrashDB: cloud_archive
Date: Mon Dec 16 23:33:11 2013
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
MarkForUpload: True
PackageArchitecture: all
 PATH=(custom, no user)
SourcePackage: migrate
UpgradeStatus: No upgrade log present (probably fresh install)

Lance Cooper (deathwish) wrote :
James Page (james-page) wrote :

Fixed in the version we have in trusty - looks SRU'able - confirming for Saucy and the CA

Changed in migrate (Ubuntu):
status: New → Fix Released
Changed in migrate (Ubuntu Saucy):
status: New → Confirmed
Changed in cloud-archive:
status: New → Confirmed
importance: Undecided → High
Changed in migrate (Ubuntu Saucy):
importance: Undecided → High
status: Confirmed → Triaged
Changed in cloud-archive:
status: Confirmed → Triaged
James Page (james-page) on 2014-01-16
description: updated
Changed in migrate (Ubuntu Saucy):
status: Triaged → In Progress
assignee: nobody → James Page (james-page)
James Page (james-page) wrote :

Fixed version uploaded to -proposed for SRU team review.

Changed in migrate (Ubuntu Saucy):
assignee: James Page (james-page) → nobody

Hello Lance, or anyone else affected,

Accepted migrate into saucy-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation 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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-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 . Thank you in advance!

Changed in migrate (Ubuntu Saucy):
status: In Progress → Fix Committed
tags: added: verification-needed
James Page (james-page) wrote :

I've also pushed this update out to the havana-proposed pocket of the cloud-archive.

Changed in cloud-archive:
status: Triaged → Fix Committed
Rolf Leggewie (r0lf) wrote :

saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as "Won't Fix".

Changed in migrate (Ubuntu Saucy):
status: Fix Committed → Won't Fix
James Page (james-page) on 2015-03-24
Changed in cloud-archive:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers