[openstack-dev] [oslo] request_id deprecation strategy question

Ihar Hrachyshka ihrachys at redhat.com
Tue Nov 25 15:43:10 UTC 2014


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

On 21/10/14 11:52, Steven Hardy wrote:
> On Mon, Oct 20, 2014 at 03:27:19PM -0700, Joe Gordon wrote:
>> On Mon, Oct 20, 2014 at 11:12 AM, gordon chung <gord at live.ca>
>> wrote:
>> 
>>> The issue I'm highlighting is that those projects using the
>>> code now
>> have
>>> to update their api-paste.ini files to import from the new
>>> location, presumably while giving some warning to operators
>>> about the impending removal of the old code.
>> This was the issue i ran into when trying to switch projects to 
>> oslo.middleware where i couldn't get jenkins to pass -- grenade
>> tests successfully did their job. we had a discussion on
>> openstack-qa and it was suggested to add a upgrade script to
>> grenade to handle the new reference and document the switch. [1] 
>> if there's any issue with this solution, feel free to let us
>> know.
>> 
>> Going down this route means every deployment that wishes to
>> upgrade now has an extra step, and should be avoided whenever
>> possible. Why not just have a wrapper in project.openstack.common
>> pointing to the new oslo.middleware library. If that is not a
>> viable solution, we should give operators one full cycle where
>> the oslo-incubator version is deprecated and they can migrate to
>> the new copy outside of the upgrade process itself. Since there
>> is no deprecation warning in Juno [0], We can deprecate the
>> oslo-incubator copy in Kilo and remove in L.
> 
> 
> I've proposed a patch with a compatibility shim which may provide
> one way to resolve this:
> 
> https://review.openstack.org/129858

FYI some projects (e.g. neutron or swift) also utilize catch_errors
filter, so I've requested another shim for the middleware module in
oslo-incubator: https://review.openstack.org/136999

> 
> Steve
> 
> _______________________________________________ OpenStack-dev
> mailing list OpenStack-dev at lists.openstack.org 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iQEcBAEBCgAGBQJUdKOOAAoJEC5aWaUY1u578K8H/jUb3eLE4bItGfkuzZ9uAes9
7ekva40wgNK3u96DMGbBIKOFxbljvXt5tlIPKjw26cW1G834VeGsuyB+3ql53aGD
Y743L4NOvzRwAnlorh35CbjEXu+RSfCEw5Y7w3K7N4kVfsQ8Zw2NObAq4hk1wKJ7
bc6maJZa6D8nptY7q8bCsLsrXudnpRLsfqbei7NurQawBGGhikaSkB1Vk/8eHuNL
PA8T9m4Ya70zueInhPnNgB7v3YagV0fLgYE+SMQF66HL7Vak3vrmfgD03pI1QtWV
NQkEiccAS2teEf5jijznFC2t4DtJ5vclIfKNWaoMUEz4pg01oE/85eBE+34h22o=
=NkCt
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list