Bug 213356

Summary: Anaconda crashes with unhandled exception when DHCP fails on Extras install
Product: [Fedora] Fedora Reporter: Bernard Johnson <bjohnson>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: jsb973, plroskin, yan
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-06 15:12:07 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:

Description Bernard Johnson 2006-11-01 00:35:56 UTC
Description of problem:
I selected Fedora Extras as an additional repository.  It tried to get a DHCP
address, but I didn't have a cable plugged in to eth0.  After some amount of
time (approximately 30 seconds) an unhandled exception occurred.

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

How reproducible:


Steps to Reproduce:
1. Select FE repository
2. unplug ethernet cable
3. wait for error
  
Actual results:
Traceback (most recent call first):
 File "/usr/lib/anaconda/iw/netconfig_dialog.py", line 215, in _ok
  _("Error configuring network device"))
TypeError: parent should be a GtkWindow or None

Local variables in innermost frame:
val: eth0
netdev: DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=xx:xx:xx:xx:xx:xx
ONBOOT=yes

self: <netconfig_dialog.NetworkConfigurator instance at 0xa9cf6cc>
args: (<gtk.Button object (GtkButton) at 0xaada07c>,)
w: <gui.WaitWindow instance at 0xa9c75ec>
combo: <gtk.ComboBox object (GtkComboBox at 0xaada0a4>
active: <GtkTreelter at 0xa580ab8>
ns: None

... etc

Expected results:
Actually, I would have expected anaconda to realize that there was no link on
the device, but instead it happily tries to get a DHCP address.  At least if
it's going to do this, it should fail gracefully.

Additional info:
I might also note that it says "An unhandled exception has occurred.  This is
most likely a bug.  Please save a copy of the detailed exception and file a bug
report against anaconda at http://bugzilla.redhat.com"

1) It is missing the ending period.
2) There is probably 20 pages of exception information.  How does one go about
"saving a copy" without manually typing on another computer?

Comment 1 Jeremy Katz 2006-11-06 15:12:07 UTC
That was actually good enough for this one; fixed in CVS.

In general, saving to a floppy/memory stick or using the save to remote is the
way to grab it.  In this case, the latter is a little harder

Comment 2 Chris Lumens 2006-11-27 19:40:39 UTC
*** Bug 217314 has been marked as a duplicate of this bug. ***

Comment 3 Chris Lumens 2007-03-13 14:11:25 UTC
*** Bug 231920 has been marked as a duplicate of this bug. ***

Comment 4 Chris Lumens 2007-03-14 18:25:55 UTC
*** Bug 232090 has been marked as a duplicate of this bug. ***