[openstack-dev] [nova] plan for moving to using oslo.db

Matt Riedemann mriedem at linux.vnet.ibm.com
Mon May 5 14:47:28 UTC 2014


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/

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list