Bug 1002664 - Failures to remove images from an import domain result in imported images on data domains being marked as illegal.
Summary: Failures to remove images from an import domain result in imported images on ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: 3.3.0
Assignee: Maor
QA Contact: Katarzyna Jachim
URL:
Whiteboard: storage
Depends On:
Blocks: 1007507
TreeView+ depends on / blocked
 
Reported: 2013-08-29 16:54 UTC by Lee Yarwood
Modified: 2018-12-02 15:20 UTC (History)
10 users (show)

Fixed In Version: is15
Doc Type: Bug Fix
Doc Text:
Failure to remove volumes from an import domain marked the imported volumes on the data domain as illegal. With this update, the engine now checks if the parent command is an image or template removal command before setting the volume as illegal.
Clone Of:
Environment:
Last Closed: 2014-01-21 17:36:28 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
abaron: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 469083 0 None None None Never
Red Hat Product Errata RHSA-2014:0038 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.3.0 update 2014-01-21 22:03:06 UTC
oVirt gerrit 18708 0 None MERGED core: Avoid marking imported images as illegal when removing a guest from an import domain. 2020-08-03 20:25:07 UTC

Description Lee Yarwood 2013-08-29 16:54:05 UTC
Description of problem:
Failures to remove volumes from an import domain result in imported volumes on data domains being marked as illegal.

Version-Release number of selected component (if applicable):
rhevm-3.2.2-0.41

How reproducible:
Always.

Steps to Reproduce:
1. Export a guest to an import domain.
2. Manually remove the volume from the import domain.
3. Attempt to remove the volume from the import domain.
4. The original volume on the data domain is now marked as illegal.

Actual results:
Original volumes marked as illegal.

Expected results:
Imported volumes are not touched as a result of any failures to remove volumes from the import domain.

Additional info:

Comment 3 Lee Yarwood 2013-08-29 22:36:14 UTC
I've attached a quick patch to workaround this by checking if the parent command is an image/template removal command for an import domain.

Comment 6 rhev-integ 2013-09-12 16:10:44 UTC
This bug has been cloned to bug #1007507

Comment 7 Katarzyna Jachim 2013-09-23 12:13:29 UTC
Verified on is15, status of the original disk is OK.

Comment 8 Charlie 2013-11-28 00:15:52 UTC
This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 9 errata-xmlrpc 2014-01-21 17:36:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0038.html


Note You need to log in before you can comment on or make changes to this bug.