Hi,

i have installed the packages for debian sid on my ubuntu 12.04 install.
When trying to register the system to spacewalk 1.7 or 8 running on fedora 16 i get a type error:

[Fri Jun 29 14:05:41 2012] up2date Warning: haldaemon or messagebus service not running. Cannot probe hardware and DMI information.

[Fri Jun 29 14:05:42 2012] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 218, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 151, in main
    rhnreg.sendPackages(systemId, packageList)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 489, in sendPackages
    s.registration.add_packages(systemId, packageList)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 63, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 196, in doCall
    ret = method(*args, **kwargs)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 37, in _request1
    ret = self._request(methodname, params)
File "/usr/lib/python2.7/dist-packages/rhn/rpclib.py", line 377, in _request
    request = self._req_body(self._strip_characters(params), methodname)
File "/usr/lib/python2.7/dist-packages/rhn/rpclib.py", line 232, in _req_body
    return xmlrpclib.dumps(params, methodname, encoding=self._encoding)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1085, in dumps
    data = m.dumps(params)
  File "/usr/lib/python2.7/xmlrpclib.py", line 632, in dumps
    dump(v, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
    f(self, value, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 714, in dump_array
    dump(v, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
    f(self, value, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 735, in dump_struct
    dump(v, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump
    f(self, value, write)
  File "/usr/lib/python2.7/xmlrpclib.py", line 658, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
<type 'exceptions.TypeError'>: cannot marshal None unless allow_none is enabled



The system is still registered but i have no package information
When adding the system with the option --nopackages it does not give me the error and the system also registers.

These are the packages i installed:
ii python-rhn 2.5.52-1 Python libraries for the RHN project ii rhn-client-tools 1.8.9-1 Red Hat Network Client Tools
ii  rhnsd 4.9.15-1                                Red Hat Update Agent

Regards,

Willem

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to