[openstack-dev] [Nova] Does this api modification need Microversion?

Alex Xu soulxu at gmail.com
Wed Aug 3 14:21:25 UTC 2016


2016-08-03 22:03 GMT+08:00 Matt Riedemann <mriedem at linux.vnet.ibm.com>:

> On 8/2/2016 1:11 AM, han.rong3 at zte.com.cn wrote:
>
>> patchset url: https://review.openstack.org/#/c/334747/
>>
>>
>>
>> Allow "revert_resize" to recover error instance after resize/migrate.
>>
>> When resize/migrate instance, if error occurs on source compute node,
>> instance state can rollback to active currently. But if error occurs in
>> "finish_resize" function on destination compute node, the instance state
>> would not rollback to active.
>>
>> This patch is to rollback instance state from error to active when
>> resize or migrate action failed on destination compute node..
>>
>>
>>
>>
>>
>> Best,
>>
>> Rong Han
>>
>>
>> __________________________________________________________________________
>> 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
>>
>>
> I lean toward yes for this needing a microversion as it's a behavior
> change and without a microversion, how am I as an end user of the API
> supposed to have any idea that I can perform this action and have a chance
> of it working? We've said the same thing for other stuff like this, like
> being able to rescue a volume-backed instance:
>
> https://review.openstack.org/#/c/270288/18/nova/compute/api.py



At least, I didn't get a good reason for not using Microversion.


>
>
> --
>
> Thanks,
>
> Matt Riedemann
>
>
>
> __________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160803/f837b4c2/attachment.html>


More information about the OpenStack-dev mailing list