[Spacewalk-list] can not join a client to spacewalk master server

Afify, Sherif S (IBS) Sherif.Afify at se1.bp.com
Tue Jan 23 12:29:51 UTC 2018


I am trying to join host to spacewalk master by using the following command  " rhnreg_ks -vvv --force --activationkey  1-5d5c4c972993b492a885f5e3658038a6 --serverUrl https://usip-emdc-mon.bp.com/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT "

It give me the below error :

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



When I check the /var/log/up2date I get the below :

[Tue Jan 23 06:15:46 2018] up2date D: rpcServer: Calling XMLRPC registration.welcome_message
[Tue Jan 23 06:15:47 2018] up2date A protocol error occurred: Internal Server Error , attempt #1,
[Tue Jan 23 06:15:47 2018] 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 248, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 181, 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 204, 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 38, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line 384, in _request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.7/site-packages/rhn/transports.py", line 171, in request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.7/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



I checked that the ports 80 and 443 can be reached from client and they looks ok ... 

[root at spaceclient  ~]# telnet usip-emdc-mon.bp.com 80 
Trying 149.184.141.225...
Connected to usip-emdc-mon.bp.com.
Escape character is '^]'.

[root at spaceclient  ~]#  telnet usip-emdc-mon.bp.com 443

Trying 149.184.141.225...
Connected to usip-emdc-mon.bp.com.
Escape character is '^]'.

The RPMS for RHN* on the client ....

# rpm -qa | grep -i rhn
rhn-client-tools-2.0.2-17.el7.noarch
rhn-org-trusted-ssl-cert-1.0-8.noarch
rhnlib-2.5.65-4.el7.noarch
rhnsd-5.0.13-7.3.el7_4.x86_64
rhn-setup-2.0.2-17.el7.noarch
rhn-check-2.0.2-17.el7.noarch
yum-rhn-plugin-2.7.7-1.el7.noarch




Any idea how to fix the above ? 




More information about the Spacewalk-list mailing list