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

Matt Riedemann mriedem at linux.vnet.ibm.com
Wed Aug 3 14:03:44 UTC 2016


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

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list