Bug 1705166 - [3.10] Pod are using the ip from the wrong interface i.e /etc/resolv.conf are getting wrong values
Summary: [3.10] Pod are using the ip from the wrong interface i.e /etc/resolv.conf are...
Keywords:
Status: CLOSED DUPLICATE of bug 1696394
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 3.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.11.z
Assignee: Dan Mace
QA Contact: Hongan Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-01 17:04 UTC by rehan
Modified: 2022-08-04 22:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-11 01:46:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description rehan 2019-05-01 17:04:45 UTC
Description of problem:
The pods that are using the address from tun0 instead of ens192 in order to configure /etc/resolv.conf .  This results in pods logging no route to host/ unknown host since they are unable to query the local dnsmasq instance.

I checked with ps output 

The --cluster-dns parameter itself is taking the incorrect ip i.e from the tun0 as you can see below, 



Version-Release number of selected component (if applicable):

3.10
How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

The customers pod's /etc/resolv.conf files are being populated with incorrect nameserver IP. This is happening on multiple nodes. 
and some pods are referring to the correct nameserver. 
 
Expected results:
The pod should refer to the correct default nameserver ip. 


Additional info:

Comment 5 Dan Mace 2019-10-11 01:46:12 UTC

*** This bug has been marked as a duplicate of bug 1696394 ***


Note You need to log in before you can comment on or make changes to this bug.