Bug 461493

Summary: 'ksdevice=link' causes traceback
Product: [Fedora] Fedora Reporter: Will Woods <wwoods>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jlaska
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-03 18:37:01 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: 438943    

Description Will Woods 2008-09-08 15:23:33 UTC
Booting anaconda-11.4.1.32 with 'ksdevice=link' on the commandline causes anaconda to traceback just after starting X. The installer exits, so I can't get the anacdump.txt file, but here's the traceback:

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 913, in <module>
    anaconda.id = instClass.installDataClass(anaconda, extraModules, opts.display_mode, anaconda.backend)
  File "/usr/lib/anaconda/instdata.py", line 291, in __init__
    self.reset()
  File "/usr/lib/anaconda/instdata.py", line 64, in reset
    self.network = network.Network()
  File "/usr/lib/anaconda/network.py", line 342, in __init__
    self.netdevices[self.firstnetdevice].set(("onboot", "yes"))
KeyError: 'link'

I assume this means that self.firstnetdevice is set to 'link'. I'm not sure how it passed this check in Network.available():

        if ksdevice and self.netdevices.get(ksdevice) != '':
            self.firstnetdevice = ksdevice

but I guess 'link' will have to be handled as a special case there.

Comment 1 David Cantrell 2008-09-16 05:45:29 UTC
Just booted with ksdevice=link and it doesn't traceback, it just doesn't do anything with that boot argument right now.  I need to modify the ksdevice=link handling to work with NM now.

But, it doesn't traceback at least.

Comment 2 James Laska 2008-09-23 18:15:37 UTC
Got it to traceback using anaconda-11.4.1.39-1.i386 when booting from a boot.iso and providing the cmdline args: 

 repo=hd:sdc1:/dvd ksdevice=link ip=dhcp noipv6

Comment 3 Will Woods 2008-10-03 18:23:29 UTC
This seems to work fine now. Jim?

Comment 4 James Laska 2008-10-03 18:36:36 UTC
Indeed ... additional test results located at https://fedoraproject.org/wiki/QA/Test_Days/2008-10-02#How_to_test.3F