Red Hat Bugzilla – Bug 967233
RFE: Add a migration flag to auto-create storage stubs on the destination
Last modified: 2014-12-09 11:05:31 EST
Doing 'virsh migrate --copy-storage-all' currently isn't very end user friendly because it requires initial stub storage files to exist on the destination host.
Trying to automatically do this is likely difficult and error prone given all the possible storage configurations available, but IMO as is the feature is pretty uninteresting to end users.
I think we should add a migration API flag that will have the destination libvirt create storage stubs for disk images, if required. Even if a first attempt just handles image files that would go a long way.
Without this, we would _have_ to implement something similar just to expose this in virt-manager, so IMO it's better to do this at the libvirt level first, so all clients (particularly virsh) can benefit.
*** Bug 735073 has been marked as a duplicate of this bug. ***
There's a RHEL bug requsting the same 927252.
So, the patches are upstream (see https://bugzilla.redhat.com/show_bug.cgi?id=927252#c9 ). There's no special flag added. The storage will be precreated automatically, if user hasn't done it. Cole is that enough to close this bug?
Yeah I saw those patches go by, thanks a lot! I still need to test it out but regardless this bug is solved, if I hit any issues ill open separate reports