New Kickstart Problem

Ryan Golhar golharam at umdnj.edu
Tue Jun 29 19:02:07 UTC 2004


Yep, I missed a # sign on a comment which is what is was complaining
about.  Too bad it didn't give more information about the line it didn't
like...could have saved me a few days...

Ryan

-----Original Message-----
From: Trevin Beattie [mailto:tbeattie at boingo.com] 
Sent: Tuesday, June 29, 2004 2:43 PM
To: 'General Red Hat Linux discussion list'
Cc: Ryan Golhar
Subject: Re: New Kickstart Problem


I don't know if you got an answer for this already, but I got almost the
exact same error message, and I found out what the problem is.  The
difference was that instead of saying "KeyError: Kickstart", my system
said "KeyError: linux".  I looked at the code for kickstart.py on line
676, then looked further up at the initialization of handlers[]. 
Apparently it was trying to look up which function to call for a keyword
in your kickstart file, and "Kickstart" is not a valid keyword.  (In my
case, the word "linux" was supposed to be part of a comment of which I
had accidentally pasted some lines in the middle.)

So if you fix your kickstart file, everything should work just fine.

This certainly looks like a bug of non-robustness in kickstart.py.  The
code should have checked for invalid configuration options.

Cheers.
-- Trevin Beattie

----- Original Message -----
Date: Tue, 01 Jun 2004 13:08:16 -0400
To: "'General Red Hat Linux discussion list'" <redhat-list at redhat.com>


I posted this message once before but didn't get a response. 


I recently updated my RedHat CDs to update 2. Now, when I try to 
kickstart a machine, I'm getting the following error: 


Waiting for X server to start...log located in /tmp/X.log 
1...2...3...4...5... X server started successfully. 
(X then exits and drops back to console) 
Traceback (most recently call last): 
  File "/usr/bin/anaconda", line 1042, in ? 
    instClass.setInstallData(id) 
  File "/usr/lib/anaconda/kickstart.py", line 1218, in setInstallData 
    self.readKickstart(id, self.file) 
  File "/usr/lib/anaconda/kickstart.py", line 676, in readKickstart 
    if handlers[args[0]]: 
KeyError: Kickstart 
Install existed abnormally 


The system then proceeds to shutdown. Any ideas? 


----- 
Ryan Golhar 
Computational Biologist 
The Informatics Institute at 
The University of Medicine & Dentistry of NJ





More information about the redhat-list mailing list