Bug 1586368

Summary: openshift_dns_ip does not take effect
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.10.0CC: aos-bugs, hongli, jokerman, mmccomas, wsun
Target Milestone: ---   
Target Release: 3.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
Previously the openshift_dns_ip variable could be used to specific which dns server is added to the pod's /etc/resolv.conf. However this value is no longer used in OCP 3.10 and later.
Story Points: ---
Clone Of:
: 1609727 (view as bug list) Environment:
Last Closed: 2018-12-20 21:37:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1609727    

Description Johnny Liu 2018-06-06 05:58:50 UTC
Description of problem:
$ grep "openshift_dns_ip" inventory/hosts.example
# node.example.com openshift_dns_ip=172.30.0.1

Following hosts.example, setting openshift_dns_ip, but the setting take no any effect.

Version-Release number of the following components:
openshift-ansible-3.10.0-0.60.0.git.0.bf95bf8.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. setting openshift_dns_ip as the following:
openshift_dns_ip=172.30.0.1
2. trigger installation
3.

Actual results:
After installation, checking node config.
# grep dnsIP /etc/origin/node/node-config.yaml 
dnsIP: 0.0.0.0

The inventory setting does not take any effect.

Expected results:
the user setting dnsIP should be shown in node config file. 

Additional info:
The setting is working well in 3.9.

Comment 1 Scott Dodson 2018-06-06 12:09:34 UTC
This is a configuration item that we need to hi-light as no longer being valid because it required per node configuration. We need to remove openshift_dns_ip from the codebase too.

Comment 2 Scott Dodson 2018-06-06 12:52:43 UTC
https://github.com/openshift/openshift-docs/pull/9875 docs PR

https://github.com/openshift/openshift-ansible/pull/8648 openshift-ansible pr to remove the code

Comment 3 Wei Sun 2018-06-08 01:58:27 UTC
The RP is merged to openshift-ansible-3.10.0-0.64.0,please check

Comment 4 Johnny Liu 2018-06-08 03:20:30 UTC
Verified this bug with openshift-ansible-3.10.0-0.64.0.git.20.48df973.el7.noarch, and PASS.

$ rpm -qa|grep openshift-ansible|xargs rpm -ql|xargs grep -r "openshift_dns_ip"
<empty>
$ rpm -qa|grep openshift-ansible|xargs rpm -ql|xargs grep -ri "dnsip"|grep -v "0.0.0.0"
<empty>

Comment 5 openshift-github-bot 2018-06-29 17:28:26 UTC
Commit pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/d4bfdbe9bd4b453f1d161a7d13e146977ac91861
Merge pull request #10537 from adellape/bz1586368

Bug 1586368: Remove references to setting openshift_dns_ip