Bug 504687 - Anaconda crashes during installation within virt-manager
Summary: Anaconda crashes during installation within virt-manager
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: https://fedoraproject.org/wiki/Common...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-08 19:48 UTC by Andrew McNabb
Modified: 2009-06-09 11:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-08 20:41:38 UTC
Type: ---
Embargoed:


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

Description Andrew McNabb 2009-06-08 19:48:15 UTC
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
      ON THIS DRIVE!

  
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 19:59:16 UTC
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 20:03:59 UTC
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 20:12:17 UTC
The workaround seems to stop the problem.  Thanks for the tip.

Comment 4 Chris Lumens 2009-06-08 20:41:38 UTC
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 11:35:48 UTC
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.