Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 737851 - Disconnecting cdrom image fail
Disconnecting cdrom image fail
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen (Show other bugs)
5.8
All Linux
low Severity high
: rc
: ---
Assigned To: Miroslav Rezanina
Virtualization Bugs
: Regression
Depends On:
Blocks: 699611
  Show dependency treegraph
 
Reported: 2011-09-13 05:14 EDT by Miroslav Rezanina
Modified: 2012-02-21 00:56 EST (History)
17 users (show)

See Also:
Fixed In Version: xen-3.0.3-135.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 645266
Environment:
Last Closed: 2012-02-21 00:56:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0160 normal SHIPPED_LIVE xen bug fix and enhancement update 2012-02-20 09:53:33 EST

  None (edit)
Comment 1 Miroslav Rezanina 2011-09-13 05:19:58 EDT
Patch for bz #645237 introduce check for image existence. However, libvirt pass empty string to disconect image from guest that cause error so disconnecting is not possible.
Comment 6 Miroslav Rezanina 2011-10-26 10:06:55 EDT
Fix built into xen-3.0.3-135.el5
Comment 8 Qixiang Wan 2011-12-15 07:25:41 EST
Verified with xen-3.0.3-135.el5.

With the xen <= -134, there is error message prompt when try to disconnect the cdrom device in virt-manager:
Error Removing CDROM: Requeseted operation is not valid:
Xm driver only supports modifying persistent config.

And xend raise the error as following:
  ...
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1573, in reconfigureDevice
    return self.getDeviceController(deviceClass).reconfigureDevice(
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/blkif.py", line 130, in reconfigureDevice
    raise VmError("Can't read disk file %s" % new_back['params'])
VmError: Can't read disk file 

After update to xen-3.0.3-135.el5, there is no issue with disconnecting cdrom device.
Comment 9 errata-xmlrpc 2012-02-21 00:56:05 EST
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/RHBA-2012-0160.html

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