[openstack-dev] [nova] How do we format/version/deprecate things from notifications?

Nikola Đipanov ndipanov at redhat.com
Wed Dec 18 17:44:10 UTC 2013


On 12/18/2013 06:17 PM, Matt Riedemann wrote:
> 
> 
> On 12/18/2013 9:42 AM, Matt Riedemann wrote:
>> The question came up in this patch [1], how do we deprecate and remove
>> keys in the notification payload?  In this case I need to deprecate and
>> replace the 'instance_type' key with 'flavor' per the associated
>> blueprint.
>>
>> [1] https://review.openstack.org/#/c/62430/
>>
> 
> By the way, my thinking is it's handled like a deprecated config option,
> you deprecate it for a release, make sure it's documented in the release
> notes and then drop it in the next release. For anyone that hasn't
> switched over they are broken until they start consuming the new key.
> 

FWIW - I am OK with this approach - but we should at least document it.
I am also thinking that we may want to make it explicit like oslo.config
does it.

Thanks,

N.



More information about the OpenStack-dev mailing list