image-format needs db migration script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Jay Pipes |
Bug Description
The disk_format/
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...
Related branches
- Jay Pipes (community): Approve
- Rick Harris (community): Approve
- Ed Leafe (community): Approve
- Sandy Walsh (community): Approve
- Cory Wright: Pending requested
-
Diff: 631 lines (+511/-32)7 files modifiedglance/registry/db/migrate_repo/versions/003_add_disk_format.py (+147/-0)
glance/registry/db/migrate_repo/versions/003_sqlite_downgrade.sql (+58/-0)
glance/registry/db/migrate_repo/versions/003_sqlite_upgrade.sql (+64/-0)
glance/registry/db/migration.py (+5/-5)
glance/server.py (+2/-2)
tests/unit/test_migrations.conf (+5/-0)
tests/unit/test_migrations.py (+230/-25)
Changed in glance: | |
assignee: | nobody → Jay Pipes (jaypipes) |
milestone: | cactus-2011-03-14 → cactus-2011-03-24 |
Changed in glance: | |
status: | Triaged → In Progress |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | cactus-2011-03-24 → 2011.2 |
status: | Fix Committed → Fix Released |
Hack: http:// paste.openstack .org/show/ 957/