[Spacewalk-list] Spacewalk 2.4 and debian 7

Georg Weiss Georg.Weiss at meteogroup.com
Wed Dec 9 13:07:16 UTC 2015


Hi List

I'm unable to register a debian client to Spacewalk 2.4.

root at debian:~# dpkg -l | grep "rhn\|spacewalk"
ii  apt-transport-spacewalk            1.0.6-2.1                     all
APT transport for communicating with Spacewalk servers
ii  python-rhn                         2.5.52-1                      all
Python libraries for the RHN project
ii  rhn-client-tools                   1.8.9-3
amd64        Red Hat Network Client Tools
root at debian:~# cat /etc/debian_version 
7.9
root at debian:~# rhnreg_ks --serverUrl=https://spacewalk.XXXXX.net/XMLRPC
--sslCACert=/root/ca.crt
--activationkey=1-d977ba2cc251d4c794d6cb11fa081db1
An error has occurred:
<class 'xml.parsers.expat.ExpatError'>
See /var/log/up2date for more information

root at debian:~# cat /var/log/up2date
--8<--
[Wed Dec  9 14:05:25 2015] 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 90, in main
    rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 239, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 172, in
__get_capabilities
    self.registration.welcome_message()
  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 381, in
_request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.7/dist-packages/rhn/transports.py", line 184,
in request
    return self._process_response(fd, connection)
  File "/usr/lib/python2.7/dist-packages/rhn/transports.py", line 212,
in _process_response
    return self.parse_response(fd)
  File "/usr/lib/python2.7/dist-packages/rhn/transports.py", line 232,
in parse_response
    p.feed(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 557, in feed
    self._parser.Parse(data, 0)
<class 'xml.parsers.expat.ExpatError'>: mismatched tag: line 164, column
2
--8<--

Any pointers?




More information about the Spacewalk-list mailing list