Red Hat Bugzilla – Bug 389101
virt-manager fails to create KVM guests from CD-ROM installation media
Last modified: 2008-07-15 14:07:16 EDT
Description of problem:
When attempting to create a virtual machine in virt-manager, based on CD-ROM or
DVD install media (i.e. not ISO image), clicking Finish results in an error:
"Unable to complete install: 'virDomainCreateLinux() failed Timed out while
reading monitor startup output". Dismissing this error and clicking Finish again
will result in another error: "Unable to complete install: 'The CDROM device hdc
is already used'", and this error will persist and prevent the creation of a VM.
When using an ISO image to install the VM, there is no issue: it is created and
Version-Release number of selected component (if applicable):
Always, on my two testing systems.
Steps to Reproduce:
1) Start 'virt-manager'.
3) Double click localhost list entry to connect to QEMU.
4) Right click on localhost list entry, click New.
5) "Create a new virtual system" appears. Click Forward.
6) Enter any system name, i.e. system1. Click Forward.
7) Select "Fully Virtualized" (the only possible option in my case). Click Forward.
8) Select CD-ROM or DVD. In "Path to install media", select "Fedora 8 i386 DVD".
(Note that oddly, in my case, this appears twice. It makes no difference which I
9) Select OS Type: Linux, OS Variant: Fedora 8. Click Forward.
10) Select Normal Disk Partition. Select any partition, i.e.
/dev/VolGroup00/system1. Click Forward.
11) Leave defaults for Network (Virtual Network, default.) Click Forward.
12) Leave defaults for Memory and CPUs (500 Max, 500 Startup, 1 VCPU). Click
13) "Ready to begin installation": Click Finish.
14) See Actual Results #1.
15) Dismiss error dialog. Click Finish again.
16) See Actual Results #2.
Actual results #1:
CD drive begins to spin up. Dialog appears: "Unable to complete install:
'virDomainCreateLinux() failed Timed out while reading monitor startup output'".
Backtrace in Details section attached.
Actual results #2:
Dialog appears: "Unable to complete install: 'The CDROM device hdc is already
used'". Backtrace in Details section attached.
Upon clicking Finish, the virtual machine should be created and booted.
This is happening on two laptop systems, a Thinkpad T60 and a Dell XPS M1210,
both running Fedora 8 with updates to 2007-11-18. Both are Intel VT compliant
machines, with vmx flag. This bug also occurred in Fedora 7, albeit slightly
differently. However, as I have upgraded to Fedora 8 I am no longer able to
verify anything in F7.
Created attachment 262661 [details]
I am seeing the same problem on a Dell M1710, I can load .iso file installs fine
but trying to install from the CD produces the above error(s).
I am encounter this same error on T60 when creating a QEMU VM for XP
Unable to complete install '<class 'libvirt.libvirtError'>
virDomainCreateLinux() failed Timed out while reading monitor startup output
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 616, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 724, in
return self._do_install(consolecb, meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 741, in
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.5/site-packages/libvirt.py", line 573, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: virDomainCreateLinux() failed Timed out while reading monitor
Did some more testing and found that a work around for this is to insert the
install media first before starting virt-manager, then the VM is created.
hum... the work around seem to be only work sometimes..... I retry the same
procedure and failed to create the VM.
back to square 1
From comment #1: The error message "The CDROM device hdc is already used" was
from a bug where we would attempt to re-add the cdrom device if a guest install
failed. This should be fixed with the latest packages in F8.
The "timed out" issue I'm not sure about.
Can anyone verify this is still an issue with the latest F8 packages? If so,
please post ~/.virt-manager/virt-manager.log here after the error.
I'm closing this. It's been in needinfo for over 3 months, and at least the
apparent bug (backtrace number 2 from the log in comment 1) has been fixed for a