image-format needs db migration script

Bug #730213 reported by Jay Pipes
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Jay Pipes

Bug Description

The disk_format/container_format branch has now landed in trunk. I did *not* include a database migration script even though the schema changed with that branch. The reason was that I could not get the test case to pass with a simple migration script that added/dropped a column. See attached migration script that bombs the migration test case. I was hoping that someone could look at the migration script and see what's up.

The migration code is taken pretty much as-is from Nova, but the migration scripts for Glance actually have a test case with them, and also include the downgrade() method as the sqlalchemy-migrate manual states is necessary, unlike the Nova migration scripts.

We need to get this migration script done in the next week...

Tags: migrate

Related branches

Revision history for this message
Jay Pipes (jaypipes) wrote :
Jay Pipes (jaypipes)
Changed in glance:
assignee: nobody → Jay Pipes (jaypipes)
milestone: cactus-2011-03-14 → cactus-2011-03-24
Jay Pipes (jaypipes)
Changed in glance:
status: Triaged → In Progress
Revision history for this message
Sandy Walsh (sandy-walsh) wrote :
Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: cactus-2011-03-24 → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.