Bug 492726

Summary: Traceback from ppc install
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: anacondaAssignee: Joel Andres Granados <jgranado>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dcantrell, jgranado, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Linux   
Whiteboard: anaconda_trace_hash:96ccbdebec7959825138f41a174f89aa95b52ed7cc5269b0550827e4b4cdafb8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-31 21:13:22 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
Attached traceback automatically from anaconda. none

Description Jesse Keating 2009-03-28 22:00:48 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.38 exception report
Traceback (most recent call first):
  File "/tmp/updates/booty/bootloaderInfo.py", line 228, in availableBootDevices
    if self.partedFlags[parted.PARTITION_BOOT]:
  File "/tmp/updates/booty/bootloaderInfo.py", line 174, in setup
    bootDevs = self.availableBootDevices(storage)
  File "/usr/lib/anaconda/bootloader.py", line 91, in bootloaderSetupChoices
    anaconda.id.bootloader.images.setup(anaconda.id.storage)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
AttributeError: BootImages instance has no attribute 'partedFlags'

Comment 1 Jesse Keating 2009-03-28 22:00:53 UTC
Created attachment 337128 [details]
Attached traceback automatically from anaconda.

Comment 2 Joel Andres Granados 2009-03-30 11:14:50 UTC
There are still some issues with partedFlags sprinkled around the code.  Rather unsure of what to do ATM.

<snip>
[joel@dhcp-lab-171 anaconda]$ git grep partedFlags
booty/bootloaderInfo.py:                if self.partedFlags[parted.PARTITION_BOOT]:
booty/ppc.py:                if dev.partedFlags[parted.PARTITION_PREP] and not dev.format.exists:
storage/devices.py:        self.partedFlags = {}
storage/devices.py:    #_partedFlags = parted.PARTITION_PREP
[joel@dhcp-lab-171 anaconda]$ 
</snip>

Comment 3 Chris Lumens 2009-03-31 21:13:22 UTC
This will be fixed in the next build of anaconda.  Thanks for the bug report.