[Spacewalk-list] [spacewalk] There are errors in your kickstart template

Issam Harrathi issamneo at gmail.com
Wed Mar 20 13:48:51 UTC 2013


Hi all , i worked before with spacewalk 1.8 and it's ok.

Today i install spacewalk 1.9 on a centos 6.3. Then i create a base channel
centos6.3 with 2 child (epel6 and spacewalkclient1.9). I create a kickstart
distribution and when i create the kickstart profile i see this error: "*There
are errors in your kickstart template. Please check the 'Kickstart File'
tab to determine the problem with the template.*"

and in the tab kickstart file i see this "*There are errors in your
kickstart template. Please check the error message below*." and  cobbler
profile getks shows this:

cobbler profile getks
Traceback (most recent call last):
  File "/usr/bin/cobbler", line 35, in <module>
    sys.exit(app.main())
  File "/usr/lib/python2.6/site-packages/cobbler/cli.py", line 510, in main
    rc = cli.run(sys.argv)
  File "/usr/lib/python2.6/site-packages/cobbler/cli.py", line 195, in run
    self.object_command(object_type, object_action)
  File "/usr/lib/python2.6/site-packages/cobbler/cli.py", line 266, in
object_command
    data = self.remote.generate_kickstart(options.name,"")
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1483, in __request
    allow_none=self.__allow_none)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1132, in dumps
    data = m.dumps(params)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 677, in dumps
    dump(v, write)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 699, in __dump
    f(self, value, write)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 703, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled


and finally when i go to /var/lib/rhn/kickstarts/wizard/ and i cat the cfg
file i see this which is not normal, normally i see my Certificate :*

$SNIPPET('spacewalk/post_reactivation_key')
%end

%post --log /root/ks-rhn-post.log
# --Begin Spacewalk command section--
cat > /tmp/ssl-key-1 <<'EOF'
3635373237343639363636393633363137343635336130613230323032303230343436313734363133613061323032
30323032303230323032303230353636353732373336393666366533613230333332303238333037383332323930613
230323032303230323032303230323035333635373236393631366332303465373536643632363537323361306132303
230323032303230323032303230323032303230323036313332336136353334336133303633336133373330336133393
63133613633333033613335363333613631333930613230323032303230323032303230323035333639363736653631373
4373537323635323034313663363736663732363937343638366433613230373336383631333135373639373436383532353
334313435366536333732373937303734363936663665306132303230323032303230323032303230343937333733373536353
732336132303433336434363532326332303533353433643436373236313665363336353263323034633364353036313732363
937333263323034663364343334343465326332303466353533643435353835343331326534333434346532633230343334653
364363336653663373337303737326436333264373633303331306132303230323032303230323032303230353636313663363
936343639373437393061323032303230323032303230323032303230323032303230346536663734323034323635363636663
732363533613230346436313732323033313339323033313338336133313336336133333333323033323330333133333230343
734643534306132303230323032303230323032303230323032303230323034653666373432303431363637343635373232303
36132303464363137323230333133333230333133383361333133363361333333333230333233303333333632303437346435
*3.........


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130320/c19c8cbe/attachment.htm>


More information about the Spacewalk-list mailing list