Unable to add CDS instace to cluster
Hello all,
I'm struggling for the past 2 days to add CDS instance to the cluster but without success.
[root@cds1 ~]# rpm -qa | grep pulp
pulp-selinux-server-0.0.263-45.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
mod_wsgi-3.3-2.pulp.el6.x86_64
pulp-cds-0.0.263-45.el6.noarch
pulp-common-0.0.263-45.el6.noarch
[root@cds1 ~]#
[root@rhua tmp]# rpm -qa | grep pulp
pulp-admin-0.0.263-45.el6.noarch
pulp-selinux-server-0.0.263-45.el6.noarch
pulp-0.0.263-45.el6.noarch
pulp-client-lib-0.0.263-45.el6.noarch
pulp-consumer-0.0.263-45.el6.noarch
python-oauth2-1.5.170-2.pulp.el6.noarch
mod_wsgi-3.3-2.pulp.el6.x86_64
pulp-common-0.0.263-45.el6.noarch
python-isodate-0.4.4-4.pulp.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
[root@rhua tmp]#
From RHUA I have telnet to CDS instance on port 443 by FQDN
Form CDS instance I have telnet to RHUA on port 5674 by FQDN
I've checked both machines FQND they are correct also have another instance in the same subnet which is connected without any issues.
[root@rhua tmp]# time pulp-admin -u admin -p admin cds register --hostname=cds1.********.com --name=cds1.*********.com --cluster_id=***
Check that the CDS packages have been installed on the CDS and have been started
error: operation failed: PulpException: Timeout occurred attempting to initialize CDS [cds1.********.com]
real 0m15.534s
user 0m0.286s
sys 0m0.071s
[root@rhua tmp]#
Connecting to RHUA [rhua.********.com]...
Successfully connected to [rhua.********.com]
Exception attempting to register CDS [cds1.********.com]
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", line 726, 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 324, in POST
return self._request('POST', path, body=body)
File "/usr/lib/python2.6/site-packages/pulp/client/api/server.py", line 288, in _request
raise ServerRequestError(response.status, message, traceback)
ServerRequestError: (500, u'PulpException: Timeout occurred attempting to initialize CDS [cds1.********.com]', 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 143, in send\n self.__getstarted(sn, reader)\n File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 166, in __getstarted\n raise RequestTimeout(sn, 0)')
[root@rhua tmp]#
[root@rhua tmp]# nmap cds1.********.com THIS IS THE ON THAT CAN'T CONNECT
Starting Nmap 5.51 ( http://nmap.org ) at 2019-12-05 12:54 GMT
Nmap scan report for cds1.********.com (********)
Host is up (0.0015s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
22/tcp open ssh
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 5.01 seconds
[root@rhua tmp]# nmap cds2.********.com
Starting Nmap 5.51 ( http://nmap.org ) at 2019-12-05 12:54 GMT
Nmap scan report for cds2.********.com (********)
Host is up (0.0013s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
22/tcp open ssh
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 4.94 seconds
[root@rhua tmp]# nmap rhua.********.com
Starting Nmap 5.51 ( http://nmap.org ) at 2019-12-05 12:54 GMT
Nmap scan report for rhua.********.com (********)
Host is up (0.000019s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
111/tcp open rpcbind
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds
[root@rhua tmp]#
Can't find anything in logs ...
I've open support case but :
I can see that you've opened this support case for RHUI 2.0 product. If this is not a mistake and you are really using RHUI 2.0 then please keep in mind that RHUI 2.0 is already out of life for quite some time:
~~~
Red Hat Update Infrastructure 2
General Availability: July 29, 2011
Full Support Phase: July 29, 2011 – July 29, 2014 Maintenance Support Phase: July 29, 2014 – June 1, 2018 ~~~