Bug 644062

Summary: KeyError: 'wlan0'
Product: [Fedora] Fedora Reporter: Sandro Mathys <sandro>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:caa5c17d95f6acdc1acd62cae8dfa9abc5748052fff9bbb3fb95d178ffd19453
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-18 20:45:28 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
anaconda.log extracted after the traceback occured
none
ifcfg.log extracted after the traceback occured
none
program.log extracted after the traceback occured
none
syslog extracted after the traceback occured none

Description Sandro Mathys 2010-10-18 20:30:14 UTC
The following was filed automatically by anaconda:
anaconda 14.19 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/network_gui.py", line 164, in selectInstallNetDeviceDialog
    desc = network.netdevices[dev].description
  File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 919, in enableNetwork
    nm_controlled_devices)
  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/advanced_storage.py", line 106, in addIscsiDrive
    if not anaconda.intf.enableNetwork():
  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/advanced_storage.py", line 240, in addDrive
    rc = addIscsiDrive(anaconda)
  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/filter_gui.py", line 442, in _add_advanced_clicked
    if not addDrive(self.anaconda):
KeyError: 'wlan0'

Comment 1 Sandro Mathys 2010-10-18 20:30:20 UTC
Created attachment 454207 [details]
Attached traceback automatically from anaconda.

Comment 2 Sandro Mathys 2010-10-18 20:34:09 UTC
Created attachment 454208 [details]
anaconda.log extracted after the traceback occured

Comment 3 Sandro Mathys 2010-10-18 20:34:32 UTC
Created attachment 454209 [details]
ifcfg.log extracted after the traceback occured

Comment 4 Sandro Mathys 2010-10-18 20:34:54 UTC
Created attachment 454210 [details]
program.log extracted after the traceback occured

Comment 5 Sandro Mathys 2010-10-18 20:35:12 UTC
Created attachment 454211 [details]
syslog extracted after the traceback occured

Comment 6 Sandro Mathys 2010-10-18 20:39:50 UTC
How reproducible:
Always

Steps to reproduce:
1) Get to some point where anaconda asks you to activate networking (e.g. try to add an iscsi storage device)
2) choose to activate eth0
3) in the 'network connections' dialog, delete all existing connections for eth0
4) go ahead and wait while NM does its magic
5) NM will fail with 'error enabling network'
6) a traceback is thrown

I can also reproduce this with wlan0.

If in step 2) I choose eth0, I don't have to delete connections associated to wlan0 to reproduce this. If I choose wlan0 in step 2), I don't have to delete connections associated to eth0 to reproduce as well.

Comment 7 Chris Lumens 2010-10-18 20:45:28 UTC

*** This bug has been marked as a duplicate of bug 642370 ***