Unable to register CDS to RHUA, it errors out with message, "Error registering xxx.xxx.xxx, check the log file for more information" or "PulpException: Communications error while attempting to initialize CDS"

Solution Verified - Updated -

Issue

  • Unable to register CDS to RHUA, it errors out with message, "Error registering xxx.xxx.xxx, check the log file for more information"

  • Removed old CDS server from RHUA but while adding CDS server to RHUA using rhui-manager it fails with error "PulpException: Communications error while attempting to initialize CDS [cds.example.com]"

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", line 725, in register_cds
    cluster_id=cluster_name, client_hostname=client_hostname)
  File "/usr/lib/python2.6/site-packages/pulp/client/api/cds.py", line 35, in register
    return self.server.POST(path, data)[1]
  File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 323, in POST
    return self._request('POST', path, body=body)
  File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 287, in _request
    raise ServerRequestError(response.status, message, traceback)
ServerRequestError: (500, u'PulpException: Communications error while attempting to initialize CDS [cds.example.com]; check the server log for more information', u'Traceback (most recent call last):\n  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error\n    return method(self, *args, **kwargs)\n  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator\n    value = method(self, *args, **kwargs)\n  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/cds.py", line 78, in POST\n    sync_schedule=sync_schedule, cluster_id=cluster_id)\n  File "/usr/lib/python2.6/site-packages/pulp/server/api/cds.py", line 131, in register\n    secret = self.dispatcher.init_cds(cds)\n  File "/usr/lib/python2.6/site-packages/pulp/server/cds/dispatcher.py", line 92, in init_cds\n    secret = self._send(self._cds_stub(cds).initialize)\n  File "/usr/lib/python2.6/site-packages/pulp/server/cds/dispatcher.py", line 169, in _send\n    result = func(*args)\n  File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 72, in __call__\n    return self.stub._send(request, opts)\n  File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 133, in _send\n    return self.__send(request, options)\n  File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 164, in __send\n    any=opts.any)\n  File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 144, in send\n    return self.__getreply(sn, reader)\n  File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 181, in __getreply\n    return self.__onreply(envelope)\n  File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 197, in __onreply\n    raise RemoteException.instance(reply)')

Environment

  • Red Hat Update Infrastructure 2.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.