I have imported SLES 11.1, and set up a profile to use it.  The koan 
invocation goes OK, but during the setup, I get this error in the 
installer:

Error                                                                           
                               
An error occurred while fetching the profile:                                   
                               
Cannot find URL 'http://172.29.1.101/cblr/svc/op/ks/profile/builder-
sles11.1-x86_64' via protocol HTTP(S). Serv

yes, it truncates and does not wrap the error text.

The error log on the cobbler server records:

[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90] mod_wsgi 
(pid=1638): Exception occurred processing WSGI script 
'/var/www/cobbler/svc/services.py'.
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90] Traceback (most 
recent call last):
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]   File 
"/var/www/cobbler/svc/services.py", line 79, in application
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]     content = 
func( **form )
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]   File 
"/usr/lib/python2.6/site-packages/cobbler/services.py", line 76, in ks
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]     data = 
self.remote.generate_kickstart(profile,system,REMOTE_ADDR,REMOTE_MAC)
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]   File 
"/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]     return 
self.__send(self.__name, args)
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]   File 
"/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]     
verbose=self.__verbose
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]   File 
"/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]     return 
self._parse_response(h.getfile(), sock)
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]   File 
"/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]     return 
u.close()
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]   File 
"/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90]     raise 
Fault(**self._stack[0])
[Thu Mar 15 03:56:24 2012] [error] [client 172.29.2.90] Fault: <Fault 1: 
"<class 'xml.parsers.expat.ExpatError'>:not well-formed (invalid token): 
line 2, column 1">

It appears to be choking on the reply it is trying to send to the 
installer.

My SLES XML file starts out:

<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns"; 
xmlns:config="http://www.suse.com/1.0/configns";>

So, if it is really choking on line 2, column 1, that's the < in the doc 
type.

1) Is there any way to get a dump of what it is trying to send to the 
client before it bombs out?
2) Any ideas on what the issue could be here?  I have RHEL systems 
installing just fine from cobbler.

When running 'cobbler system dumpvars' I think the following output. I 
do not know if it is related.

# cobbler system dumpvars
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 543, in 
main
    rc = cli.run(sys.argv)
  File "/usr/lib/python2.6/site-packages/cobbler/cli.py", line 207, in 
run
    self.object_command(object_type, object_action)
  File "/usr/lib/python2.6/site-packages/cobbler/cli.py", line 292, in 
object_command
    data = self.remote.get_blended_data("",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

Thanks for any pointers you can give!

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
[email protected] - Jabber: [email protected]
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to