"error: [Errno 113] No route to host" with default Centos 7 firewall may mean that port 80/443 is closed
вт, 13 февр. 2018 г., 20:48 Soham Chakraborty <dec.so...@gmail.com>: > Hi, > > I am using CentOS 7 as my pulp server and CentOS 6 as a consumer. I am > using rabbitmq as the broker since I was not able to get qpid to work due > to package conflicts. > > Right now, I am not able to register the consumer with the pulp server. > The trackback is given below: > > [root@client1 python]# pulp-consumer -vv -u admin register --consumer-id > client1.example.com > Enter password: > 2018-02-13 18:44:59,892 - DEBUG - sending POST request to > /pulp/api/v2/consumers/ > 2018-02-13 18:45:02,997 - ERROR - Client-side exception occurred > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", > line 474, in run > exit_code = Cli.run(self, args) > File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 974, in run > exit_code = command_or_section.execute(self.prompt, remaining_args) > File > "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", > line 210, in execute > return self.method(*arg_list, **clean_kwargs) > File "/usr/lib/python2.6/site-packages/pulp/client/consumer/cli.py", > line 173, in register > rsa_pub=rsa_pub) > File "/usr/lib/python2.6/site-packages/pulp/bindings/consumer.py", line > 35, in register > return self.server.POST(path, body) > File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line > 100, in POST > log_request_body=log_request_body, ignore_prefix=ignore_prefix) > File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line > 152, in _request > response_code, response_body = self.server_wrapper.request(method, > url, body) > File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line > 339, in request > connection.request(method, url, body=body, headers=headers) > File "/usr/lib64/python2.6/httplib.py", line 973, in request > self._send_request(method, url, body, headers) > File "/usr/lib64/python2.6/httplib.py", line 1010, in _send_request > self.endheaders() > File "/usr/lib64/python2.6/httplib.py", line 967, in endheaders > self._send_output() > File "/usr/lib64/python2.6/httplib.py", line 831, in _send_output > self.send(msg) > File "/usr/lib64/python2.6/httplib.py", line 790, in send > self.connect() > File "/usr/lib64/python2.6/site-packages/M2Crypto/httpslib.py", line 73, > in connect > raise error > error: [Errno 113] No route to host > An error occurred attempting to contact the server. > > [root@client1 python]# > > Packages on the client: > > [root@client1 ~]# rpm -qa | egrep -i 'pulp|amqp' > python-rhsm-1.8.0-2.pulp.el6.x86_64 > python-pulp-common-2.11.2-1.el6.noarch > python-pulp-rpm-common-2.11.2-1.el6.noarch > python-amqp-1.4.9-1.el6.noarch > python-pulp-bindings-2.11.2-1.el6.noarch > pulp-consumer-client-2.11.2-1.el6.noarch > pulp-agent-2.11.2-1.el6.noarch > python-gofer-amqp-2.7.6-1.el6.noarch > python-isodate-0.5.0-4.pulp.el6.noarch > python-pulp-agent-lib-2.11.2-1.el6.noarch > python-pulp-client-lib-2.11.2-1.el6.noarch > pulp-rpm-consumer-extensions-2.11.2-1.el6.noarch > pulp-rpm-yumplugins-2.11.2-1.el6.noarch > pulp-rpm-handlers-2.11.2-1.el6.noarch > [root@client1 ~]# > > [root@client1 ~]# service goferd status > goferd (9018) is running. > [root@client1 ~]# > > consumer.conf in client: > > [root@client1 ~]# egrep -v '^($|#)' /etc/pulp/consumer/consumer.conf > [server] > host: pulp.example.com > verify_ssl: False > [authentication] > [client] > [filesystem] > [reboot] > [output] > [messaging] > transport: rabbitmq > [profile] > [root@client1 ~]# > > In pulp server: > > [root@pulp ~]# egrep -v '^($|#)' /etc/pulp/admin/admin.conf > [server] > host: pulp.example.com > verify_ssl : False > [client] > [filesystem] > [output] > [root@pulp ~]# egrep -v '^($|#)' /etc/pulp/server.conf > [database] > [server] > [authentication] > [security] > [consumer_history] > [data_reaping] > [oauth] > [messaging] > transport: rabbitmq > [tasks] > broker_url: amqp://guest:guest localhost/ > [email] > [lazy] > [profiling] > [root@pulp ~]# > > What am I missing here? > > Thanks, > > _______________________________________________ > Pulp-list mailing list > Pulp-list@redhat.com > https://www.redhat.com/mailman/listinfo/pulp-list
_______________________________________________ Pulp-list mailing list Pulp-list@redhat.com https://www.redhat.com/mailman/listinfo/pulp-list