Hide Forgot
Volume creation can take a long time. Attempting to delete a volume which is still being created returns an error. It is not currently possible to work round this, for example with an API to cancel the creation process. This impacts V2V. V2V removes all inconsistent volumes if the conversion process fails or is interrupted. This cleanup will fail if the user hits Ctrl-C during a long-running volume creation, because the volume cannot be deleted. This will cause subsequent V2V conversions to fail because the volume already exists.
*** Bug 772704 has been marked as a duplicate of this bug. ***
This bug was not selected to be addressed in Red Hat Enterprise Linux 6. We will look at it again within the Red Hat Enterprise Linux 7 product.
Fixed upstream: commit eb54426659888bf04fdef409afaccf8c0fd199a0 Author: Michal Privoznik <mprivozn> AuthorDate: Wed Apr 16 15:16:20 2014 +0200 Commit: Michal Privoznik <mprivozn> CommitDate: Tue May 6 10:24:44 2014 +0200 storageVolCreateXMLFrom: Allow multiple accesses to origvol When creating a new volume, it is possible to copy data into it from another already existing volume (referred to as @origvol). Obviously, the read-only access to @origvol is required, which is thread safe (probably not performance-wise though). However, with current code both @newvol and @origvol are marked as building for the time of copying data from the @origvol to @newvol. The rationale behind is to disallow some operations on both @origvol and @newvol, e.g. vol-wipe, vol-delete, vol-download. While it makes sense to not allow such operations on partly copied mirror, but it doesn't make sense to disallow vol-create or vol-download on the source (@origvol). Signed-off-by: Michal Privoznik <mprivozn> v1.2.4-18-geb54426 (so you have to use the v1.2.5-rc1~111 release)
Actually, the commit from comment 12 fixes another bug, see bug 1069552.
I'm closing this. The fix was originally requested for virt-v2v, but the new version of virt-v2v does not use libvirt for volume creation, hence this is no longer a problem.