Charles Duffy wrote:
> Michael DeHaan wrote:
>   
>> Charles Duffy wrote:
>>     
>>> [EMAIL PROTECTED] ~]# cobbler validateks
>>> ...<snipped a great deal of output here>...
>>> The following problem occurred on line 31 of the kickstart file:
>>>
>>> Unknown command: Fault:
>>>
>>> The following problem occurred on line 33 of the kickstart file:
>>>
>>> Unknown command: </pre>
>>>
>>> *** all kickstarts seem to be ok ***
>>> [EMAIL PROTECTED] ~]# echo $?
>>> 0
>>>       
>> I would need to see your kickstart file if this not the case, though 
>> most likely cobblerd and or apache are not started so pykickstart is a 
>> bit confused.
>>
>> --Michael
>>     
>
> I have since fixed the error in the template which was causing a 
> traceback to be included in the HTTP request's output, which was the 
> immediate trigger. (Apache and cobblerd were both up, but a broken .ks 
> template was causing cheetah to throw an exception).
>
> The traceback being there was legitimate; "cobbler validateks" claiming 
> that everything was fine / exiting with status 0 wasn't.
>
> I could certainly create another, terser invalid kickstart template if 
> necessary to reproduce.
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

validateks depends on the return codes from ksvalidator. This appears to 
be a bug in ksvalidator returning 0 in that
case.

--Michael



_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to