Hide Forgot
Description of problem: Fail to test dns resolution when configuring dnsmasq on node Version-Release number of selected component (if applicable): https://github.com/sdodson/openshift-ansible -b cluster-dns How reproducible: always Steps to Reproduce: 1. install env with dnsmasq on node Actual results: TASK: [openshift_node_dnsmasq | Test dns resolution] ************************** failed: [openshift-1.lab.eng.nay.redhat.com] => {"changed": false, "cmd": ["getent", "hosts", "google.com"], "delta": "0:00:00.004486", "end": "2016-04-07 23:35:51.601745", "rc": 2, "start": "2016-04-07 23:35:51.597259", "warnings": []} failed: [openshift-2.lab.eng.nay.redhat.com] => {"changed": false, "cmd": ["getent", "hosts", "google.com"], "delta": "0:00:00.004238", "end": "2016-04-07 23:35:51.429506", "rc": 2, "start": "2016-04-07 23:35:51.425268", "warnings": []} ok: [openshift-3.lab.eng.nay.redhat.com] => {"changed": false, "cmd": ["getent", "hosts", "google.com"], "delta": "0:00:00.073471", "end": "2016-04-07 23:35:51.545510", "rc": 0, "start": "2016-04-07 23:35:51.472039", "stderr": "", "stdout": "2404:6800:4003:c01::8a google.com", "warnings": []} check by manual, the dns works fine. It is better to try to test dns for several times Expected results: This step should succeed Additional info:
I've pushed a change that retries every second for up to 20 seconds. Please pull the latest and test.
Install env successfully, move this issue to VERIFIED.
The conditions for the dns port in the iptables didn't take effect. Install ose-3.2 by default, check the iptables on the master <--snip--> ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8053 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:8053 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:53 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:53 <--snip--> the '53' and '8053' port are opened.
(In reply to Ma xiaoqiang from comment #3) > The conditions for the dns port in the iptables didn't take effect. > > Install ose-3.2 by default, check the iptables on the master > <--snip--> > ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp > dpt:8053 > ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp > dpt:8053 > ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp > dpt:53 > ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp > dpt:53 > <--snip--> > > the '53' and '8053' port are opened. Add wrong comments.
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-2016:1065