Bug 536906

Summary: Anaconda crashes upon disc scanning
Product: [Fedora] Fedora Reporter: Christoph Höger <choeger>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: awilliam, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-18 17:07:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
stacktrace none

Description Christoph Höger 2009-11-11 18:55:13 UTC
Created attachment 369088 [details]
stacktrace

Description of problem:
I just tried preupgrade to rawhide (should become fedora 12) and anaconda crashes when it searches for storage.

Version-Release number of selected component (if applicable):
anaconda-12.46

How reproducible:
always - on my system

Steps to Reproduce:
1. boot into preupgrade
  
Actual results:
crash

Additional info:

I have attached the stacktrace dump. I've also set this to urgent/urgent because it may affect lots of users since I have no exotic hardware config (I know of).

I have saved the complete /tmp/ directory, so feel free to ask for any other files.

Comment 1 Chris Lumens 2009-11-11 19:14:57 UTC
anaconda 12.46 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/__init__.py", line 1891, in mkDevRoot
    dev = "%s/%s" % (instPath, root.path)
  File "/usr/lib/anaconda/storage/__init__.py", line 1058, in mkDevRoot
    self.fsset.mkDevRoot()
  File "/usr/lib/anaconda/upgrade.py", line 260, in upgradeMountFilesystems
    anaconda.id.storage.mkDevRoot()
  File "/usr/lib/anaconda/dispatch.py", line 200, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 123, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/dispatch.py", line 222, in currentStep
    self.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1228, in setScreen
    (step, anaconda) = self.anaconda.dispatch.currentStep()
  File "/usr/lib/anaconda/gui.py", line 1398, in setup_window
    self.setScreen()
  File "/usr/lib/anaconda/gui.py", line 1408, in run
    self.setup_window(runres)
  File "/usr/lib/anaconda/gui.py", line 1148, in run
    self.icw.run (self.runres)
  File "/usr/bin/anaconda", line 968, in <module>
    anaconda.intf.run(anaconda)
AttributeError: 'NoneType' object has no attribute 'path'

Comment 2 Adam Williamson 2009-11-11 19:53:30 UTC
Per policy, the Priority field is only to be used by maintainers if they find it useful, not by reporters or triagers. Please do not set this field.

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 3 David Lehman 2009-11-17 16:43:01 UTC
Your /etc/fstab file specifies that /dev/sda5 is a swap partition, when in fact it is your root partition. /dev/sda2 is a swap partition. Please fix this and see if this allows you to complete your upgrade.

Comment 4 David Lehman 2010-01-18 17:07:40 UTC
In anaconda-13.22-1, and later versions, an fstab entry that contradicts the detected type of device's formatting will cause a failure so that this case is more clearly identified.