Bug 253561 - virtinst - check if image file is in use by another domain
virtinst - check if image file is in use by another domain
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-virtinst (Show other bugs)
5.1
All Linux
high Severity high
: ---
: ---
Assigned To: Cole Robinson
Virtualization Bugs
: Patch
Depends On:
Blocks: 246139 246258 296411 372911
  Show dependency treegraph
 
Reported: 2007-08-20 12:22 EDT by Bryn M. Reeves
Modified: 2010-10-22 13:56 EDT (History)
4 users (show)

See Also:
Fixed In Version: RHEA-2008-0371
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-21 12:45:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch from upstream hg (1003 bytes, patch)
2007-08-20 12:22 EDT, Bryn M. Reeves
no flags Details | Diff

  None (edit)
Description Bryn M. Reeves 2007-08-20 12:22:54 EDT
Description of problem:
The current RHEL5 python-virtinst will check and warn if the user attempts an
installation to a device that is currently in use by another domain (including
inactive domains). The same check is not applied to regular files (loop or tap
devices).

This was fixed upstream by the following commit:
http://hg.et.redhat.com/virt/applications/virtinst--devel?cs=3e2bf458732a

Version-Release number of selected component (if applicable):
python-virtinst-0.103.0-2.el5

How reproducible:
100%

Steps to Reproduce:
1. Configure a domain using a regular file as its storage
2. De-activate the domain
3. Attempt to configure a domain using the same regular file as was used in step 1.
  
Actual results:
No warnings that the image is already in use by another domain.

Expected results:
A warning is output, as in the case for domains using block device backed storage.

Additional info:
Comment 1 Bryn M. Reeves 2007-08-20 12:22:56 EDT
Created attachment 161898 [details]
patch from upstream hg
Comment 4 RHEL Product and Program Management 2007-10-15 23:46:41 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.
Comment 10 Cole Robinson 2008-01-17 13:13:57 EST
We are rebasing to virtinst-0.300.2, which fixes this bug:

$ brew latest-pkg dist-5E-qu-candidate python-virtinst
Build                                     Tag                   Built by
----------------------------------------  --------------------  ----------------
python-virtinst-0.300.2-1.el5             dist-5E-qu-candidate  berrange
Comment 12 Bryn M. Reeves 2008-01-28 08:51:31 EST
Removing rhel_beta group - applies to GA & nothing confidential in public comments.
Comment 15 errata-xmlrpc 2008-05-21 12:45:00 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2008-0371.html

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