| Summary: | It is not possible to delete a volume while it's being created | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Matthew Booth <mbooth> | |
| Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> | |
| Status: | CLOSED DEFERRED | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.0 | CC: | cwei, dyuan, jdenemar, mprivozn, mzhan, rbalakri, rjones, veillard, yanyang | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 707495 (view as bug list) | Environment: | ||
| Last Closed: | 2016-02-17 10:33:40 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 707495, 707496 | |||
|
Description
Matthew Booth
2011-05-25 09:03:19 UTC
*** 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. |