Just wanted to get some thoughts down while they are in my head this morning.

Oslo DB is now a library [1]. I'm trying to figure out what the steps are to getting Nova to using that so we can rip out the sync'ed common db code.

1. Looks like it's not in global-requirements yet [2], so that's probably a first step.

2. We'll want to cut a sqlalchemy-migrate release once this patch is merged [3]. This moves a decent chunk of unique constraint patch code out of oslo and into sqlalchemy-migrate where it belongs so we can run unit tests with sqlite to drop unique constraints.

3. Rip this [4] out of oslo.db once migrate is updated and released.

4. Replace nova.openstack.common.db with oslo.db.

5. ???

6. Profit!

Did I miss anything?

[1] http://git.openstack.org/cgit/openstack/oslo.db/
[2] http://git.openstack.org/cgit/openstack/requirements/tree/global-requirements.txt
[3] https://review.openstack.org/#/c/87773/
[4] https://review.openstack.org/#/c/31016/



Matt Riedemann

OpenStack-dev mailing list

Reply via email to