Scott Henson <[email protected]> wrote: >On Fri, 04 Mar 2011 00:16:24 -0800, petermity <[email protected]> >wrote: >> In 2.0.10, when validateks completes I get: >> >> *** potential errors detected in kickstarts *** >> *** TASK COMPLETE *** >> >> even when every profile shows empty for stdout and stderr, and no >> other complaints are shown, e.g. all of them look like: > >Looking through the code, I'm not sure why that would happen. The only >thought I have is that ksvalidate is returning a non-zero exit code for >some reason. Beyond that, I'm a little stumped.
I manually ran ksvalidator against the getks output for each of my profiles. I have to provide a -v parameter for the version of Red Hat kickstart to validate against, e.g. "-v RHEL5", to get ksvalidator to work properly. I don't understand how you can run the command without doing so. For instance, for one profile the validateks output shows: ---------------------------- checking url: http://10.0.4.157/cblr/svc/op/ks/profile/CentOS5.5-i386 running: /usr/bin/ksvalidator "http://10.0.4.157/cblr/svc/op/ks/profile/CentOS5.5-i386" received on stdout: recieved on stderr: ---------------------------- But when I try that directly, I get: [root@cobbler cobbler]# /usr/bin/ksvalidator "http://10.0.4.157/cblr/svc/op/ks/profile/CentOS5.5-i386" The following problem occurred on line 108 of the kickstart file: Section does not end with %%end. If I add "-v RHEL5" then it is silent and returns 0. >> ---------------------------- >> checking url: http://10.0.4.157/cblr/svc/op/ks/profile/Fedora14-i386 >> running: /usr/bin/ksvalidator >> "http://10.0.4.157/cblr/svc/op/ks/profile/Fedora14-i386" >> received on stdout: >> recieved on stderr: >> ---------------------------- >> >> Also, notice the spelling error in the last text line. > >Fixed the spelling mistake, thanks. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
