Hi Spacewalk Masters,

I have been facing issue since last week when trying to register a new server. 
I like to do some debugging on server side but I don't know where to look at.

I have the suspect that the problem is the difference between server/proxy 
version(1.9) and Client version (2.7) or something related to how the hardware 
info is sent to the server but no clue were to debug to confirm that.

Any guidance is very appreciated.

This is from /var/log/up2date in the client

Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 217, 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 149, in main
    rhnreg.sendHardware(systemId, hardwareList)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 481, in sendHardware
    s.registration.add_hw_profile(systemId, _encode_characters(hardwareList))
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 67, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 290, in doCall
    raise_with_tb(up2dateErrors.CommunicationError(e.errmsg))
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 214, in doCall
    ret = method(*args, **kwargs)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 48, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line 394, in _request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.7/site-packages/rhn/transports.py", line 177, in 
request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.7/site-packages/rhn/transports.py", line 740, in 
send_http
    response.status, response.reason, response.msg)
<class 'up2date_client.up2dateErrors.CommunicationError'>: rhn-plugin: Error 
communicating with server. The message was:
Internal Server Error


And this from rhn-profile-sync after registering with -nohardware:

Updating hardware profile...
D: rpcServer: Calling XMLRPC registration.welcome_message
XMLRPC ProtocolError: <ProtocolError for <server> /XMLRPC: 500 Internal Server 
Error>


Thanks and Regards,
Eduardo Capistran | Principal Linux Engineer | IS Server Operations
Herbalife Nutrition |  Camino al ITESO No. 8900 INT 1A, Col El Mante, 
Tlaquepaque, Jalisco 45609
x6452 + 5954 | +52 (33) 37705400 x5954 | +52 (1) 333-808-6131 | 
eduardo...@herbalife.com <mailto:eduardo...@herbalife.com>

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

Reply via email to