Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1609727

Summary: [3.10] reference to 'dnsip' should be removed
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: DocumentationAssignee: Sara Thomas <sarthoma>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 3.10.0CC: aos-bugs, hongli, jokerman, kalexand, mmccomas, sdodson, wsun
Target Milestone: ---   
Target Release: 3.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1586368 Environment:
Last Closed: 2021-03-19 17:29:38 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: 1586368    
Bug Blocks:    

Description Johnny Liu 2018-07-30 09:31:14 UTC
After search through the whole doc, still some place is referencing 'dnsip' setting.

https://github.com/openshift/openshift-docs/search?q=dnsip&unscoped_q=dnsip


+++ This bug was initially created as a clone of Bug #1586368 +++

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.

--- Additional comment from Scott Dodson on 2018-06-06 08:09:34 EDT ---

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.

--- Additional comment from Scott Dodson on 2018-06-06 08:52:43 EDT ---

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

--- Additional comment from Wei Sun on 2018-06-07 21:58:27 EDT ---

The RP is merged to openshift-ansible-3.10.0-0.64.0,please check

--- Additional comment from Johnny Liu on 2018-06-07 23:20:30 EDT ---

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>

--- Additional comment from openshift-github-bot on 2018-06-29 13:28:26 EDT ---

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

Comment 1 Sara Thomas 2021-03-19 17:29:38 UTC
Marking as closed. references to dnsip were removed at 3.11 with this PR: https://github.com/openshift/openshift-docs/commit/d4bfdbe9bd4b453f1d161a7d13e146977ac91861

@jialiu can you confirm that the doc is up to date per QA?

Comment 2 Johnny Liu 2021-03-19 19:15:02 UTC
Ack