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

Ihar Hrachyshka ihrachys at redhat.com
Fri Aug 1 11:59:11 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 13/05/14 17:55, Matt Riedemann wrote:
> 
> 
> 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/
> 

Any updates? I'm interested in making nova using oslo.db, this is
needed for ongoing effort to make openstack services mysql-connector
aware [we have some code for this in oslo.db but nit in oslo-incubator].

Cheers,
/Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJT24EPAAoJEC5aWaUY1u57LGcIANJAGPVk61sIyY77Me1Xn3Sx
Z/lx6C4/zdXi6PmBUgVMzdnh/r7cjw0Twe7B1D495qDD0rA/OwrP229WaM4wHBnz
bqtih+Bl9rwP6Dij57O6D9cHmcW1gmAxEiqX6iva9RomIWMyB8cAJoEsnD95Dw+q
3PIeZyikDy42p1BTnVlXRLNJhC9RaZyw8wVQ9aUVe6ydYkerbGBALQTOTirlUa8y
cq1k3GrKczB53zFpZT1i07wIP4cl9J0xXWcQTjH5cA4Sw/5kxGplT18DHX2/rrs9
YGSYIlpu1UDKyofVB69DMu6/Ryov3bBEf91NGZ3wJwqkdNu7f9qzFOM4mrT7Qq8=
=LYQX
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list