Red Hat Bugzilla – Bug 504687
Anaconda crashes during installation within virt-manager
Last modified: 2009-06-09 07:35:48 EDT
Created attachment 346915 [details]
image of traceback (better than nothing)
Description of problem:
Anaconda crashes with "TypeError: not all arguments converted during string formatting". This makes it impossible to install Fedora 11 in a virtual machine.
Version-Release number of selected component (if applicable):
Fedora 11 (I was testing to see whether the files on our private mirror had downloaded correctly in preparation for tomorrow's release)
Steps to Reproduce:
1. Run virt-manager.
2. Create a new Fedora 11 image, set to boot from PXE.
3. Click "re-initialize drive" when you see:
Error processing drive vda.
Maybe it needs to be
reinitialized. YOU WILL LOSE ALL DATA
ON THIS DRIVE!
Anaconda instantly crashes with a TypeError. I'm attaching an image of the traceback.
It should initialize the drive.
As far as I can tell, this makes it impossible to install Fedora 11 within a virtual machine. That seems really serious.
By the way, I also tried rebooting the virtual machine (with the same volume) and reinstalling again with PXE. This time, it didn't show the scary dialog "YOU WILL LOSE ALL DATA ON THIS DRIVE", but it still crashed with the same TypeError.
We can fix this with an updates.img. Also, you can work around this bug by not using --ondisk or --biosdisk on your part commands. It shouldn't wholesale prevent installation through virt.
The workaround seems to stop the problem. Thanks for the tip.
updates=http://clumens.fedorapeople.org/504687.img should fix this for F11. Otherwise, it'll be fixed in the next build for rawhide.
This defect, along with workaround and updates.img has been documented at https://fedoraproject.org/wiki/Common_F11_bugs#504687