[Spacewalk-list] Registering Clients via Proxy

Matthew Madey mattmadey at gmail.com
Wed Feb 26 21:47:26 UTC 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140226/6e8b2923/attachment.htm>


More information about the Spacewalk-list mailing list