Bug 499459 - 'NoneType' object has not attribute 'addPartition'
Summary: 'NoneType' object has not attribute 'addPartition'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:0ab28383a9542713c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-06 18:27 UTC by Chris Lumens
Modified: 2009-05-22 13:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-22 13:11:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (597.48 KB, text/plain)
2009-05-06 18:27 UTC, Chris Lumens
no flags Details
Attached traceback automatically from anaconda. (60.68 KB, text/plain)
2009-05-15 01:52 UTC, Jason Tibbitts
no flags Details
Attached traceback automatically from anaconda. (110.66 KB, text/plain)
2009-05-20 23:57 UTC, Martin Ebourne
no flags Details

Description Chris Lumens 2009-05-06 18:27:08 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.48 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devices.py", line 1160, in create
    self.disk.addPartition(self)
  File "/usr/lib/anaconda/storage/deviceaction.py", line 203, in execute
    self.device.create(intf=intf)
  File "/usr/lib/anaconda/storage/devicetree.py", line 671, in processActions
    action.execute(intf=self.intf)
  File "/usr/lib/anaconda/storage/__init__.py", line 238, in doIt
    self.devicetree.processActions()
  File "/usr/lib/anaconda/packages.py", line 117, in turnOnFilesystems
    anaconda.id.storage.doIt()
AttributeError: 'NoneType' object has no attribute 'addPartition'

Comment 1 Chris Lumens 2009-05-06 18:27:14 UTC
Created attachment 342696 [details]
Attached traceback automatically from anaconda.

Comment 2 Jason Tibbitts 2009-05-15 01:52:02 UTC
Created attachment 344070 [details]
Attached traceback automatically from anaconda.

Comment 3 Jason Tibbitts 2009-05-15 01:56:31 UTC
I was trying to pare down my kickstart file from the one used in bug 500932, and ended up generating a different backtrace.  Perhaps it's really the same thing.

The kickstart file used is:

lang en_US
keyboard "us"
install
skipx
reboot

zerombr
clearpart --all
part /boot --fstype ext3 --size 256
part pv.0 --size=1000000 --grow
volgroup vg0 pv.0
logvol / --fstype ext3 --name=root --vgname=vg0 --size=102400

%packages --nobase
autofs
krb5-workstation
mailx
man
nfs-utils
nss_ldap
ntp
openssh-server
pam_krb5
perl
ssmtp
sudo
zsh
%end

Comment 4 David Lehman 2009-05-15 15:28:04 UTC
This should be fixed in anaconda-11.5.0.53-1.

Comment 5 Martin Ebourne 2009-05-20 23:57:14 UTC
Created attachment 344900 [details]
Attached traceback automatically from anaconda.

Comment 6 Martin Ebourne 2009-05-20 23:59:25 UTC
I've just used the boot.iso from rawhide. Is that not fixed yet?

Comment 7 Jason Tibbitts 2009-05-21 01:04:04 UTC
Anaconda should tell you its version when it starts up (after loading install.img).  It looks like your install image is not up to date, as your backtrace shows 11.5.0.52 while today's rawhide has 11.5.0.54.

Comment 8 Martin Ebourne 2009-05-22 10:17:39 UTC
Sorry, missed this earlier. Yes the problem was an outdated mirror and I can confirm that 11.5.0.54 worked correctly.

Comment 9 Chris Lumens 2009-05-22 13:11:44 UTC
Thanks for retesting.


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