Removing a CD-ROM device = virDomainDetachDevice() failed

Bug #251034 reported by Richard Laager
6
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I tried to remove a CD-ROM drive from a running virtual machine. It successfully removed it from the .xml file in /etc/libvirt/qemu, but spewed the following error and did not remove it from the GUI. I didn't test on a stopped virtual machine. If the problem is that it can't remove it from a running VM, I'd say it should just ignore that (and remove it from the .xml file (which worked) and also the GUI).

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 875, in remove_device
    self.vm.remove_device(xml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 818, in remove_device
    raise RuntimeError, "Unable to detach device from live guest, libvirt reported: \n" + device_exception
RuntimeError: Unable to detach device from live guest, libvirt reported:
virDomainDetachDevice() failed this function is not supported by the hypervisor: virDomainDetachDevice

Revision history for this message
Marcus Asshauer (mcas) wrote :

Thank you for reporting this bug. Please add your ubuntu version and the version of virt-manager.

Changed in virt-manager:
status: New → Incomplete
Revision history for this message
Richard Laager (rlaager) wrote :

I'm running virt-manager 0.5.3-0ubuntu10 on Hardy.

Changed in virt-manager:
status: Incomplete → New
Revision history for this message
Richard Laager (rlaager) wrote :

Upstream says this is fixed upstream.

Changed in virt-manager:
status: New → Fix Committed
Przemek K. (azrael)
Changed in virt-manager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.