Red Hat Bugzilla – Bug 524813
Can't install virtual machines with virt-manager
Last modified: 2009-10-15 02:40:56 EDT
Description of problem:
I tried to install a virtual F12 guest system on rawhide but anaconda got an "unhandled exception" during the partitioning step.
Linux localhost.localdomain 2.6.31-14.fc12.i686 #1 SMP Tue Sep 22 04:04:35 EDT 2009 i686 i686 i386 GNU/Linux
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. insert F12 live-CD into cd-rom
2. start virt-manager, add new guest, choose "Local install media(ISO image or CDROM)",then forward
2. Locate your install media, choose "Use CDROM or DVD", then forward. Rest settings use default.
3. Press finish to start liveCD. Double click "Install to Hard Drive". Select "Use entire drive" when partitioning. Then press next, the failure will occur.
Get unhandled exception
Install guest machine successfully.
The liveCD I used is for 20090915 testday.
Created attachment 362059 [details]
cpuinfo of host
Created attachment 362060 [details]
Created attachment 362061 [details]
Created attachment 362062 [details]
Created attachment 362063 [details]
guest configuration xml file
Created attachment 362064 [details]
I installed the host system from the same liveCD image so there's no problem with the image
I also tried other liveCD image installing guest system and the same error.
Does it work if you tell virt-manager you are installing a Fedora 12 guest? This will cause virtio to be used
If it does work, it suggests a problem with our IDE emulation
eguan: any more info on this?
So sorry for the late reply.
I tried tell virt-manager this is a Fedora 12 guest and still the same error.
Could you try with a more recent Live CD e.g. from here:
Could you also save the anaconda error when it happens again - see the "Save" button in the screenshot?
Also, please include the ~/.virt-manager/virt-manager.log and /var/log/libvirt/$guest.log where you tell it that it's an F-12 guest - they should show bus='virtio' and if=virtio
I tried desktop-x86_64-20091008.15.iso image, the old error disappears but a new issue comes up.
Firstly install the new image on host then update to the newest rawhide using yum update and install virtualization related packages using yum groupinstall 'Virtualization'
Second follow the steps above except telling virt-manager the guest is Fedora 12
At the end of installation the guest machine hangs up. See the new screenshot. The message box saying "Storing encryption keys". ( I tried many times, the message didn't show up in this picture)
Linux dhcp-65-19.nay.redhat.com 220.127.116.11-56.fc12.x86_64 #1 SMP Tue Sep 29 16:16:22 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Created attachment 364330 [details]
screenshot of new image
Created attachment 364331 [details]
virt-manager.log of new image
Created attachment 364332 [details]
guest log at /var/log/libvirt/qemu/
Okay, there's nothing here that suggests this is a virtualization problem.
Could you try a few more things:
- A newer livecd image; you don't need to re-install the host or burn
- De-select the "encrypt hard drive" option in anaconda
- Try a Fedora 11 livecd image
I tried rawhide 20091013 livecd and everything goes fine, at last :-)
Okay, sounds like it was just an anaconda issue; thanks for testing