Re: [Spacewalk-list] Errors when registering or updating the profile (hardware)

2018-04-15 Thread Avi Miller


> On 14 Apr 2018, at 3:51 pm, Eduardo Capistrán  
> wrote:
> 
> 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.

The clue is here:

> : rhn-plugin: Error 
> communicating with server. The message was:
> Internal Server Error

The server is generating a 500 error, so check /var/log/httpd/ssl_error_log and 
/var/log/tomcat*/catalina.out on the server to find the actual error. Note that 
you have a HUGE difference in server/client versions and that's not something I 
personally would recommend.

What's stopping you from upgrading your servers/proxies to 2.7? Alternatively, 
why aren't you just installing the 1.9 client? I would strongly encourage you 
to upgrade your servers/proxies though, there have been some amazing 
improvements since 1.9.

Thanks,
Avi

--
Oracle 
Avi Miller | Product Management Director | +61 (3) 8616 3496
Oracle Linux and Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia

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

[Spacewalk-list] Errors when registering or updating the profile (hardware)

2018-04-14 Thread Eduardo Capistrán
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 
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)
: 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:  /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 

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