[Spacewalk-list] Registering Clients via Proxy

Jon Miller jonebird at gmail.com
Wed Feb 26 23:46:38 UTC 2014


Matthew Madey <mattmadey at gmail.com> writes:

> I have a Spacewalk Proxy server, which is registered to a Spacewalk Server
> behind a load balancer. (Load balancer is in a simple weighted
> configuration, with only 1 active Spacewalk server, the other in standby
> with spacewalk services off). I'm attempting to register clients via the
> Spacewalk Proxy and getting an Internal Server error..
>
> # rhnreg_ks -vv --serverUrl=http://spacewalk-proxy.ourcompany.com/XMLRPC
> --activationkey=4-QA-RHEL6
>
> D: rpcServer: Calling XMLRPC registration.welcome_message
> A protocol error occurred: Internal Server Error , attempt #1,
> An error has occurred:
> Error communicating with server. The message was:
> Internal Server Error
> See /var/log/up2date for more information
>
> /var/log/up2date says:
>
>   ret = self._request(methodname, params)
>  File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 384, in
> _request
>   self._handler, request, verbose=self._verbose)
>  File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 171, in
> request
>   headers, fd = req.send_http(host, handler)
>  File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 730, in
> send_http
>   response.status, response.reason, response.msg)
> <class 'up2date_client.up2dateErrors.CommunicationError'>: Error
> communicating with server. The message was:
> Internal Server Error
>
>
> /var/log/rhn/rhn_proxy_broker.log says:
>
> 2014/02/26 16:42:01 -04:00 30146 0.0.0.0: proxy/apacheServer.__call__('New
> request, component proxy.broker',)
> 2014/02/26 16:42:01 -04:00 30146 172.18.138.140:
> proxy/rhnProxyAuth.__processSystemid('ERROR', 'unable to access
> /etc/sysconfig/rhn/systemid')
> 2014/02/26 16:42:01 -04:00 30146 172.18.138.140:
> proxy/apacheHandler.cleanupHandler
>
> Registration always fails, so the systemid file isn't created on the
> client, but I'm not sure why I'm unable to register through the Spacewalk
> Proxy server. Any suggestions would be most appreciated. 

Try checking the apache log on your Proxy server. I've have full python stack
traces show up there before which pointed me directly to where I need to look
& resolve my problem. 

-- 
Jon Miller




More information about the Spacewalk-list mailing list