Hide Forgot
Backport to OCP 4.1.z expected. +++ This bug was initially created as a clone of Bug #1740439 +++ Description of problem: If you add RHEL worker through [0] steps, you cannot use "oc rsh/exec/logs" with "connect: no route to host" error message as follows. ~~~ # oc get pod -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES ... sdn-vfjxw 1/1 Running 6 43h 10.0.1.10 worker-1.ocp41.rhel.worker <none> <none> # oc rsh sdn-vfjxw Error from server: error dialing backend: dial tcp 10.0.1.10:10250: connect: no route to host # oc exec sdn-vfjxw -- date Error from server: error dialing backend: dial tcp 10.0.1.10:10250: connect: no route to host # oc logs sdn-vfjxw Error from server: Get https://worker-1.ocp41.rhel.worker:10250/containerLogs/openshift-sdn/sdn-vfjxw/sdn: dial tcp 10.0.1.10:10250: connect: no route to host ~~~ [0] Adding RHEL compute machines to an OpenShift Container Platform cluster [ https://docs.openshift.com/container-platform/4.1/machine_management/adding-rhel-compute.html ] ~~~ $ cd /usr/share/ansible/openshift-ansible $ ansible-playbook -i /<path>/inventory/hosts playbooks/scaleup.yml ~~~ Version-Release number of the following components: rpm -q openshift-ansible openshift-ansible-4.1.9-201907280809.git.160.39bd430.el7.noarch rpm -q ansible ansible-2.7.12-1.el7ae.noarch ansible --version ansible 2.7.12 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Jun 11 2019, 12:19:05) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] How reproducible: You can always reproduce this issue as adding RHEL worker through [0]steps. [0] Adding RHEL compute machines to an OpenShift Container Platform cluster [ https://docs.openshift.com/container-platform/4.1/machine_management/adding-rhel-compute.html ] ~~~ $ cd /usr/share/ansible/openshift-ansible $ ansible-playbook -i /<path>/inventory/hosts playbooks/scaleup.yml ~~~ Steps to Reproduce: 1. 2. 3. Actual results: "oc rsh/exec/logs" are failed with "connect: no route to host". Expected results: "oc rsh/exec/logs" work well without any errors. Additional info: Please attach logs from ansible-playbook with the -vvv flag --- Additional comment from Daein Park on 2019-08-13 02:17:34 UTC --- I've opened PR here: https://github.com/openshift/openshift-ansible/pull/11824 This issue can be resolved to stop firewalld service manually on the RHEL worker node.
Fixed. openshift-ansible-4.1.13-201908201227.git.162.4ce8a66.el7
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2547