Bug 588498

Summary: Backtrace in clearpart_gui when only uninitialized disks are found
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Hans de Goede <hdegoede>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: awilliam, hdegoede, jturner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:eddb067acb4d83d2237cc7fdc97d30f6f54feffd21aec33c3d2518dd0a0dd049
Fixed In Version: anaconda-13.40-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 585105 Environment:
Last Closed: 2010-05-06 01:31:33 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:
Bug Depends On:    
Bug Blocks: 507681    

Description James Laska 2010-05-03 20:07:08 UTC
While attempting to work around bug#588493 (Unable to select local BIOS RAID drive as boot drive), I ran into this previously filed RHEL6 anaconda bug.

anaconda 13.39 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/iw/cleardisks_gui.py", line 146, in getScreen
    self.bootDisk = sorted(names, self.anaconda.storage.compareDisks)[0]
  File "/usr/lib/anaconda/gui.py", line 1393, in setScreen
    new_screen = self.currentWindow.getScreen(anaconda)
  File "/usr/lib/anaconda/gui.py", line 1314, in nextClicked
    self.setScreen ()
IndexError: list index out of range

Local variables in innermost frame:
xml: <gtk.glade.XML object at 0x7fc0efb6fdc0 (PyGladeXML at 0x2cbdcc0)>
self: <ClearDisksWindow.ClearDisksWindow instance at 0x7fc10bc500e0>
disks: []
names: []
anaconda: <__main__.Anaconda object at 0x7fc10441cf10>

See full traceback details in attachment#411109 [details]

This was a rather forward partitioning back/forward interaction.  If the patch already fixed in RHEL6 is tested and isolated, I'd like to request pulling this into F13.

Comment 1 Hans de Goede 2010-05-04 07:33:17 UTC
Ok, I'll cherry pick the fix into f13-branch.

Comment 2 Hans de Goede 2010-05-04 08:55:00 UTC
This should be fixed in anaconda-13.40-1, moving to modified.

Comment 3 Adam Williamson 2010-05-04 23:53:20 UTC
james, can you test with the updates.img? Thanks.

Comment 4 James Laska 2010-05-05 00:03:08 UTC
I'll try, but I suspect not, this involved hitting a previous bug, then going through a few iterations of hitting Back (and Next) a few times.  I'll try to test tomorrow.  If I'm not able to reproduce the original problem, we can move this along.

Comment 5 Fedora Update System 2010-05-05 05:16:17 UTC
anaconda-13.40-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.40-1.fc13

Comment 6 Fedora Update System 2010-05-05 07:22:48 UTC
anaconda-13.40-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update anaconda'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/anaconda-13.40-1.fc13

Comment 7 James Laska 2010-05-05 12:43:05 UTC
I'm not able to reproduce this failure using anaconda-13.39-1 + an updates.img which includes the fix.

Comment 8 Adam Williamson 2010-05-05 16:58:29 UTC
We should now be able to confirm that this bug is fixed using the images here:

http://alt.fedoraproject.org/pub/alt/stage/13.0505/Fedora/i386/os/images/

if we have not yet confirmed the fix, can anyone able to reproduce this bug please test with one of those images and check that the bug is fixed? Thanks.

Comment 9 James Laska 2010-05-05 17:48:22 UTC
I'm not able to reproduce this failure using anaconda-13.40-1 from the URL in comment#8

Comment 10 Adam Williamson 2010-05-06 01:31:33 UTC
okay, let's close it then.



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

Comment 11 Fedora Update System 2010-05-06 06:54:53 UTC
anaconda-13.40-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.