Public bug reported:

Binary package hint: virt-manager

I am running Hardy with all the update, as well as the proposed update
to virt-manager: 0.5.3-0ubuntu10.  I have successfully installed and am
running a Windows XP virtual machine.  The virtual machine currently has
a disk image as the only hard drive and an .iso of the windows XP
installation CD as the only CD.  I now want to use a different CD, but I
am having problems.  When I try to add another CD device from the
"Virtual Machine Details" window, I get the following error:

 Unable to complete install: 'There are no more available virtual disk
device nodes'

When I try to "disconnect" the current CD (which presumably allows me to
choose a different ISO to attach?), I get the following error:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 851, in 
toggle_cdrom
    
self.vm.disconnect_cdrom_device(self.window.get_widget("disk-target-device").get_text())
  File "/usr/share/virt-manager/virtManager/domain.py", line 610, in 
disconnect_cdrom_device
    self._change_cdrom(result, origdisk)
  File "/usr/share/virt-manager/virtManager/domain.py", line 557, in 
_change_cdrom
    self.vm.attachDevice(newxml)
  File "/usr/lib/python2.5/site-packages/libvirt.py", line 214, in attachDevice
    if ret == -1: raise libvirtError ('virDomainAttachDevice() failed', 
dom=self)
libvirtError: virDomainAttachDevice() failed only CDROM disk devices can be 
attached

When I eject the existing Windows XP CD from inside the virtual machine,
this works, but there is no way to "insert" a new CD.

The only solution that I have found is to shutoff the virtual machine,
delete the existing IDE CD and re-add the IDE CD, but now pointing to
the new .iso file.  This works, but is not very practical.

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
error trying to add second CD to virt machine
https://bugs.launchpad.net/bugs/230359
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to