error trying to add second CD to virt machine

Bug #230359 reported by David Kaplan
8
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Invalid
Undecided
David Kaplan

Bug Description

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.

Revision history for this message
bitsent (bitsent) wrote :

I'm experiencing the same issue except that I am unable to install Windows XP at all as a result of this bug. My version of Windows XP is an upgrade which requires the user to insert an older Windows CD (e.g. Windows 2000) during the install process. I cannot figure out a way around this.

Revision history for this message
Armindo Silva (deathon2legs) wrote :

Is there any info about this error?
I am having the same problem with a Windows 2003 server guest..

Revision history for this message
David Kaplan (dmkaplan) wrote :

I wouldn't hold your breath waiting for a response on this one....

Changed in virt-manager:
status: New → Confirmed
Revision history for this message
Markus Mayer (sunside) wrote :

bump

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for reporting this issue.
Do you still have it?
Are you able to reproduce it with a recent version of Ubuntu, such as Karmic or Lucid?

Changed in virt-manager (Ubuntu):
status: Confirmed → Incomplete
assignee: nobody → David Kaplan (dmkaplan)
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to 'New'. Thanks again!

Changed in virt-manager (Ubuntu):
status: Incomplete → Invalid
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.