[Spacewalk-list] xmlrpc error when attempting to register system

Salman namlas at gmail.com
Sun Oct 12 04:43:30 UTC 2014


Hello,

I have recently (as of last week) deployed spacewalk in our environment and
have been registering hosts without any touble, until today.

On one batch of servers, the registration works fine on some servers, but
does not work on others. I'm getting the following error on about 5
servers, when I run the rhnreg_ks command:

http://pastie.org/9641189

-----

[Sat Oct 11 23:59:25 2014] up2date   File "/usr/sbin/rhnreg_ks", line
374, in ?    main()   File "/usr/sbin/rhnreg_ks", line 318, in main
other = other)   File "/usr/share/rhn/up2date_client/rhnreg.py", line
438, in registerSystem    auth_dict)   File
"/usr/share/rhn/up2date_client/rpcServer.py", line 236, in doCall
ret = apply(method, args, kwargs)   File
"/usr/lib64/python2.4/xmlrpclib.py", line 1096, in __call__    return
self.__send(self.__name, args)   File
"/usr/share/rhn/up2date_client/rpcServer.py", line 46, in _request1
ret = self._request(methodname, params)   File
"/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 379, in
_request    request = self._req_body(self._strip_characters(params),
methodname)   File "/usr/lib/python2.4/site-packages/rhn/rpclib.py",
line 234, in _req_body    return xmlrpclib.dumps(params, methodname,
encoding=self._encoding)   File "/usr/lib64/python2.4/xmlrpclib.py",
line 1029, in dumps    data = m.dumps(params)   File
"/usr/lib64/python2.4/xmlrpclib.py", line 603, in dumps    dump(v,
write)   File "/usr/lib64/python2.4/xmlrpclib.py", line 615, in __dump
   f(self, value, write)   File "/usr/lib64/python2.4/xmlrpclib.py",
line 696, in dump_struct    dump(v, write)   File
"/usr/lib64/python2.4/xmlrpclib.py", line 615, in __dump    f(self,
value, write)   File "/usr/lib64/python2.4/xmlrpclib.py", line 619, in
dump_nil    raise TypeError, "cannot marshal None unless allow_none is
enabled"

----

Server is running RHEL 5.8, and the following rpm is installed:

[00:40][root at web01.stdev09: ~]# rpm -qa |grep -i spacewalk

spacewalk-client-repo-2.2-1.el5


Version of spacewalk server is 2.2
I have checked the version of python packages on servers that I was able to
successfully register, and on the hosts that failed, and they appear to
match.

Please let me know if I can provide any other useful info. I'm stumped as
to what the underlying problem might be that's causing this system to not
be able to register.


-salman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141012/1cd02421/attachment.htm>


More information about the Spacewalk-list mailing list