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

Matt Riedemann mriedem at linux.vnet.ibm.com
Tue May 13 15:55:49 UTC 2014



On 5/13/2014 7:35 AM, Doug Hellmann wrote:
> On Mon, May 12, 2014 at 3:25 PM, Roman Podoliaka
> <rpodolyaka at mirantis.com> wrote:
>> Hi all,
>>
>> Yes, once the oslo.db initial release is cut, we expect the migration
>> from using of its oslo-incubator version to a library one to be as
>> simple as following the steps you've mentioned. Though, we still need
>> to finish the setup of oslo.db repo (AFAIK, this is currently blocked
>> by the fact we don't run gate tests for oslo.db patches. Doug, Victor,
>> please correct me, if I'm wrong).
>
> Yes, we need to work out the best way to test pre-releases of the
> libraries with apps before we have anything depending on those
> libraries so we can avoid breaking anything in a way that is hard to
> find or fix. We have a summit session scheduled for Thursday morning
> [1].
>
> Doug
>
> 1 - http://junodesignsummit.sched.org/event/4f92763857fbe0686fe0436fecae8fbc
>
>>
>> Thanks,
>> Roman
>>
>> On Mon, May 5, 2014 at 7:47 AM, Matt Riedemann
>> <mriedem at linux.vnet.ibm.com> wrote:
>>> 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
>>>
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

Just an update on progress, step 2 is complete, the review for step 3 is 
here:

https://review.openstack.org/#/c/92393/

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list