[Spacewalk-list] Spacewalk 2.4 and debian 7

Tevfik Ceydeliler tevfik.ceydeliler at astron.yasar.com.tr
Wed Dec 9 15:10:25 UTC 2015


Hi,
Altough I am not sure, I believe that it is about python version.
Please downgrade your python version and do same steps.
Regards...

On 09-12-2015 15:07, Georg Weiss wrote:
> 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?
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

Bu elektronik postada bulunan tum fikir ve gorusler ve ekindeki dosyalar sadece adres sahip/sahiplerine ait olup, Yasar Toplulugu Sirketleri bu mesajin icerigi ile ilgili olarak hic bir hukuksal sorumlulugu kabul etmez. Eger gonderilmesi dusunulen kisi veya kurulus degilseniz, lutfen gonderen kisiyi derhal haberdar ediniz ve mesaji sisteminizden siliniz.
The information contained in this e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and Yasar Group Companies do not accept legal responsibility for the contents. If you are not the intended recipient, please immediately notify the sender and delete it from your system.





More information about the Spacewalk-list mailing list