* melanie witt <melwi...@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[1] > > is only for available volume migration between two pools from the same > > ceph cluster. > > If the volume is in-use status[2], 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[3] 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. -- Jon > > Best, > -melanie > > > [1] https://review.openstack.org/#/c/296150 > > [2] https://review.openstack.org/#/c/256091/23/cinder/volume/drivers/rbd.py > > [3] > > 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-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev