[openstack-dev] [nova] Rebuilding instances booted from volume

Roman Podoliaka rpodolyaka at mirantis.com
Thu Jul 2 08:50:13 UTC 2015


Hi ZhengZhenyu,

I'd say, it's more like a new feature and rebuild of volume-backed
instances is simply not implemented yet.

Though, I agree, that existing behaviour is rather confusing, as such
rebuild will be a no-op, and Nova won't report any errors either.

AFAIK, Eugeniya K. (CC'ed) started to work on this, maybe she will be
able to upload any WIP patches soon.

Thanks,
Roman

On Thu, Jul 2, 2015 at 7:11 AM, ZhengZhenyu <zheng.zhenyu at outlook.com> wrote:
> Hi, All
>
> According to my test, Nova cannot rebuild Volume-Booted instances, patch:
> https://review.openstack.org/#/c/176891/
> fixes rebuild for instances launched using image and attached with volumes,
> but yet rebuilding an instance booted from volume
> is still not working.
>
> The rebuild action for volume-booted instances after implementing the above
> patch performs like this:
>
> The volumes are detached and attached again, the selected image/snapshot for
> rebuilding is actually useless.
> This means that if the /dev/vda for an instance booted from volume is broken
> for some reason, we cannot rebuild it from a new
> image or the snapshot of this instance (nova just detach and attach again
> the same volume).
>
> I don't know whether this is a bug or it is designed on purpose.
>
> Thanks,
>
> BR,
> Zheng
>
> __________________________________________________________________________
> 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
>



More information about the OpenStack-dev mailing list