Oslo version of test-migrations

Registered by Rick Harris on 2013-02-27

Nova, Glance, and possibly other projects have a `test_migrations.py` which is used to run-through the migration upgrades and downgrades to check for problems.

These individual versions of test_migration are starting to diverge, so it would be good to settle on a common version that all projects can reference.

The nova version has been updated to fix issues with snake-walk and adding a post_downgrade check, so I'd propose that becomes the reference.

Blueprint information

Status:
Complete
Approver:
Mark McLoughlin
Priority:
Low
Drafter:
Rick Harris
Direction:
Approved
Assignee:
Boris Pavlovic
Definition:
Approved
Series goal:
Accepted for havana
Implementation:
Implemented
Milestone target:
milestone icon 2013.2
Started by
Mark McLoughlin on 2013-05-23
Completed by
Mark McLoughlin on 2013-07-16

Related branches

Sprints

Whiteboard

The need for this came up recently in https://review.openstack.org/23660

Any plans to work on this in Havana? -- markmc

I am working already on this BP on nova side. I have plans to implement it in oslo in H2.
I am almost done. -- boris-42

Here is the BP in Nova https://blueprints.launchpad.net/nova/+spec/db-common-migration-and-utils
So I would prefer to do this job in oslo also -- boris-42

This review looks like it's part of it https://review.openstack.org/31016

Boris, how much more work will be required for this bp? -- markmc

Here are some patches:

https://review.openstack.org/#/q/status:open+project:openstack/oslo-incubator+branch:master+topic:bp/test-migrations,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.