Bug 699167

Summary: AttributeError: 'NoneType' object has no attribute 'path'
Product: [Fedora] Fedora Reporter: Bevis King <brwk>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: anaconda-maint-list, jonathan, sikandar.sio, sly.midnight, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:9515853c7344fe03281a359e521b53eee06454c664609f8206bb1ae9a2b5aed6
Fixed In Version: anaconda-16.10-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-07 18:30:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description Bevis King 2011-04-23 21:01:17 UTC
The following was filed automatically by anaconda:
anaconda 14.22 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2073, in mkDevRoot
    dev = "%s/%s" % (instPath, root.path)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1169, in mkDevRoot
    self.fsset.mkDevRoot()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/upgrade.py", line 299, in upgradeMountFilesystems
    anaconda.storage.mkDevRoot()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 212, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 131, in gotoNext
    self.moveStep()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1190, in nextClicked
    self.anaconda.dispatch.gotoNext()
AttributeError: 'NoneType' object has no attribute 'path'

Comment 1 Bevis King 2011-04-23 21:01:27 UTC
Created attachment 494458 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lehman 2011-05-03 15:48:22 UTC
Please try this with the Fedora 15 Beta, found here:

  http://fedoraproject.org/get-prerelease

and report the results. We aren't going to be fixing Fedora 14 installation bugs at this point.

Comment 3 Reilly Hall 2011-05-31 01:40:58 UTC
Created attachment 501898 [details]
Attached traceback automatically from anaconda.

Comment 4 Reilly Hall 2011-05-31 01:52:37 UTC
This bug/error was experienced with Fedora 15 official x86_64 release both trying preupgrade originally and then the DVD in upgrade mode on the same machine.  I would like to know if there is a work around for this error or do I have some non-standard configuration on my machine I could tweak to allow an upgrade?  Because I'd rather not have to do a clean install as I have a few machines to upgrade in a similar manner.

Comment 5 David Lehman 2011-05-31 15:56:20 UTC
(In reply to comment #4)
> This bug/error was experienced with Fedora 15 official x86_64 release both
> trying preupgrade originally and then the DVD in upgrade mode on the same
> machine.  I would like to know if there is a work around for this error or do I
> have some non-standard configuration on my machine I could tweak to allow an
> upgrade?  Because I'd rather not have to do a clean install as I have a few
> machines to upgrade in a similar manner.

It looks like you have your root entry in /etc/fstab marked as "noauto", which is not reasonable as far as I can tell. Anaconda will completely ignore any fstab entries marked as "noauto" when parsing the fstab to see the layout for the upgrade, since that option indicates that the filesystem is non-essential. If you remove that option from all required filesystems' fstab entries you should be able to upgrade.

Comment 6 David Lehman 2011-05-31 16:10:14 UTC
It was pointed out to me that you don't actually have root as a noauto filesystem -- it's some other option that we don't handle correctly. Try adding the following option to the boot command line:

  updates=http://dlehman.fedorapeople.org/updates-699167.img

The above URL points to an image containing a potential fix to the installer for your problem.

Comment 7 Reilly Hall 2011-06-01 13:02:03 UTC
I am happy to report that the fix you suggested did work fine from a preupgrade installation.  Thank you very much.  If you need any other info or help from me, don't hesitate to ask.

Comment 8 Sikku 2011-10-08 01:30:42 UTC
Created attachment 526982 [details]
Attached traceback automatically from anaconda.