[openstack-dev] [cinder] [nova] Problem of Volume(in-use) Live Migration with ceph backend
jobernar at redhat.com
Tue Oct 23 14:08:06 UTC 2018
* melanie witt <melwittt at gmail.com> wrote:
> On Fri, 19 Oct 2018 23:21:01 +0800 (GMT+08:00), Boxiang Zhu wrote:
> > The version of my cinder and nova is Rocky. The scope of the cinder spec
> > is only for available volume migration between two pools from the same
> > ceph cluster.
> > If the volume is in-use status, it will call the generic migration
> > function. So that as you
> > describe it, on the nova side, it raises NotImplementedError(_("Swap
> > only supports host devices").
> > The get_config of net volume has not source_path.
> Ah, OK, so you're trying to migrate a volume across two separate ceph
> clusters, and that is not supported.
> > So does anyone try to succeed to migrate volume(in-use) with ceph
> > backend or is anyone doing something of it?
> Hopefully someone can share their experience with trying to migrate volumes
> across separate ceph clusters. I unfortunately don't know anything about it.
If this is the case, then Cinder cannot request a storage-specific
migration which is typically more efficient. The migration will require
a complete copy of each allocated block. Whether the volume is attached
or not will determine who (cinder or nova) will perform the operation.
> >  https://review.openstack.org/#/c/296150
> >  https://review.openstack.org/#/c/256091/23/cinder/volume/drivers/rbd.py
> >  https://github.com/openstack/nova/blob/stable/rocky/nova/virt/libvirt/volume/net.py#L101
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
More information about the OpenStack-dev