rhn-profile-sync and rhnreg_ks fails with "An error has occurred: Error communicating with server" OR "Internal Server Error".
Issue
- rhn-profile-sync fails with below traceback :
Traceback (most recent call last):
File "/usr/sbin/rhn-profile-sync", line 56, 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/rhn-profile-sync", line 44, in main
rhnPackageInfo.updatePackageProfile()
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 28, in updatePackageProfile
s.registration.update_packages(up2dateAuth.getSystemId(), packages)
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 1224, 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
- Registration of client system to Red Hat Satellite server fails with below "Internal Server Error"
Traceback (most recent call last):
File "/usr/sbin/rhnreg_ks", line 227, in ?
cli.run()
File "/usr/share/rhn/up2date_client/rhncli.py", line 66, in run
sys.exit(self.main() or 0)
File "/usr/sbin/rhnreg_ks", line 160, in main
rhnreg.sendPackages(systemId, packageList)
File "/usr/share/rhn/up2date_client/rhnreg.py", line 671, in sendPackages
s.registration.add_packages(systemId, packageList)
File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
return rpcServer.doCall(method, *args, **kwargs)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 274, in doCall
raise up2dateErrors.CommunicationError(e.errmsg)
up2date_client.up2dateErrors.CommunicationError: Internal Server Error
~~~
Environment
- Red Hat Satellite 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.