Bug 504687 - Anaconda crashes during installation within virt-manager
Anaconda crashes during installation within virt-manager
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
: CommonBugs
Depends On:
  Show dependency treegraph
Reported: 2009-06-08 15:48 EDT by Andrew McNabb
Modified: 2009-06-09 07:35 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-06-08 16:41:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
image of traceback (better than nothing) (30.65 KB, image/png)
2009-06-08 15:48 EDT, Andrew McNabb
no flags Details

  None (edit)
Description Andrew McNabb 2009-06-08 15:48:15 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)

How reproducible:

Every time.

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

Actual results:

Anaconda instantly crashes with a TypeError.  I'm attaching an image of the traceback.

Expected results:

It should initialize the drive.

Additional info:

As far as I can tell, this makes it impossible to install Fedora 11 within a virtual machine.  That seems really serious.
Comment 1 Andrew McNabb 2009-06-08 15:59:16 EDT
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.
Comment 2 Chris Lumens 2009-06-08 16:03:59 EDT
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.
Comment 3 Andrew McNabb 2009-06-08 16:12:17 EDT
The workaround seems to stop the problem.  Thanks for the tip.
Comment 4 Chris Lumens 2009-06-08 16:41:38 EDT
updates=http://clumens.fedorapeople.org/504687.img should fix this for F11.  Otherwise, it'll be fixed in the next build for rawhide.
Comment 5 James Laska 2009-06-09 07:35:48 EDT
This defect, along with workaround and updates.img has been documented at https://fedoraproject.org/wiki/Common_F11_bugs#504687

Note You need to log in before you can comment on or make changes to this bug.