[openstack-dev] [oslo] trying to understand CORS deprecation

ChangBo Guo glongwave at gmail.com
Thu Jul 27 10:57:05 UTC 2017


Hi, I tried to fix serveral month ago in https://review.openstack.org/#
/c/453723/ , but gived up due to lack of time to fix many tests, will
restore it and continue on it :-)

2017-07-25 0:46 GMT+08:00 Jay Pipes <jaypipes at gmail.com>:

> On 07/24/2017 12:43 PM, Sean Dague wrote:
>
>> I'm trying to knock out common deprecation messages which are generating
>> noise in the test runs. There is a deprecation message emitted all the
>> time during test runs in Nova which is:
>>
>> DeprecationWarning: Method 'CORS.set_latent()' has moved to
>> 'method.set_defaults()': CORS.set_latent has been deprecated in favor of
>> oslo_middleware.cors.set_defaults"
>>
>> But from what I can see it's primary caller is the cors middleware
>> itself -
>> https://github.com/openstack/oslo.middleware/blob/1cf39ee5c3
>> 739c18fed78946532438550f56356f/oslo_middleware/cors.py#L133-L137
>>
>>
>> At least I'm having a hard time finding anyone else in this stack
>> calling set_latent. Is this just a circular bug on the cors.py module?
>>
>
>
> FYI: https://bugs.launchpad.net/oslo.middleware/+bug/1642008
>
> It's bothered me for a while but never been able to get to the bottom of
> it.
>
> Best,
> -jay
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
ChangBo Guo(gcb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170727/234b281e/attachment.html>


More information about the OpenStack-dev mailing list