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

Bug 1584486

Summary: [DOCS] openshift_set_node_ip option takes no effect
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: DocumentationAssignee: Ashley Hardin <ahardin>
Status: CLOSED CURRENTRELEASE QA Contact: Vikram Goyal <vigoyal>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 3.10.0CC: aos-bugs, dapark, jokerman, mmccomas, sdodson, sjenning
Target Milestone: ---   
Target Release: 3.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-20 14:01:03 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:

Description Johnny Liu 2018-05-31 03:34:44 UTC
Description of problem:
According to https://docs.openshift.com/container-platform/3.9/admin_guide/manage_nodes.html#manage-node-change-node-traffic-interface, after setting "openshift_set_node_ip=true", nodeIP would be set in node config, but for 3.10, it does not take effect.

Version-Release number of the following components:
openshift-ansible-3.10.0-0.53.0.git.0.53fe016.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. set openshift_set_node_ip=true
2. trigger an 3.10 installation
3.

Actual results:
After installation, checking node config, found no "nodeIP" is set.
# grep -i nodeIP /etc/origin/node/node-config.yaml
<empty>

Expected results:
nodeIP should be set if this is still supported in 3.10, if not, need update doc, and remove related code in openshift-ansible.
$ grep -r "openshift_set_node_ip" *
inventory/hosts.example:#openshift_set_node_ip=True
openshift-ansible.spec:- Fix references to openshift_set_node_ip in inventory examples
roles/openshift_node/defaults/main.yml:openshift_set_node_ip: False
roles/openshift_node/templates/node.yaml.v1.j2:{% if openshift_set_node_ip | bool %}


Additional info:

Comment 1 Scott Dodson 2018-05-31 12:34:43 UTC
I'm not certain if this it's possible to set the nodeIP in any way in 3.10 because the configuration comes from a per group config map and then flags are generated automatically. Moving to Pod team.

Comment 2 Seth Jennings 2018-05-31 16:20:44 UTC
Scott is correct.

It is no longer possible the set the IP on a per-node basis as all nodes of a particular role (master, infra, compute) use the same configmap.

Even then, the node-config in the configmap only serves and an input to "openshift start --write-flags" to convert those options to kubelet options for the underlying exec of "hyperkube kubelet" in 3.10.

In future releases, the node-config and the sync daemonset will go away completely, replaced by dynamic kubelet config (https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node/dynamic-kubelet-configuration.md)

We do need a docs update here.  That whole section needs to be removed.

Comment 3 Seth Jennings 2018-05-31 16:26:43 UTC
openshift-docs PR:
https://github.com/openshift/openshift-docs/pull/9702

Comment 4 Johnny Liu 2018-07-30 09:02:14 UTC
There are still many place including "openshift_ip" keyword, such as: searching openshift_ip in https://3-10-rn-followups--ocpdocs.netlify.com/openshift-enterprise/(head%20detached%20at%20fetch_head)/install/prerequisites.html

Comment 5 Johnny Liu 2018-07-30 09:25:30 UTC
Search through the whole doc, some place still use reference to openshift_set_node_ip/openshift_ip.

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

Comment 6 Daein Park 2018-08-09 00:22:12 UTC
I think the deprecation of openshift_set_node_ip/openshift_ip varaibles variables are big changes. Do we already prepare something for this ? such as the draft documentation for this to explain new way ... Let me know this information please.

Comment 7 Vikram Goyal 2018-08-09 02:03:50 UTC
@Ashley can you follow up on the comments from Johnny and Daein?

Comment 8 Ashley Hardin 2018-08-09 17:59:47 UTC
Work in progress:
https://github.com/openshift/openshift-docs/pull/11480

Daein, I am looking into it via the PR. Thanks!

Comment 9 Daein Park 2018-08-09 23:15:04 UTC
@Ashely, Thank you for your great work and quick response !

Comment 13 Johnny Liu 2018-08-17 03:23:33 UTC
Most LGTM. An example inventory in install_config/master_node_configuration.adoc still have reference to openshift_ip.

Comment 14 Ashley Hardin 2018-08-17 14:23:53 UTC
Fixed. Thank you!

Comment 15 Johnny Liu 2018-08-20 06:46:21 UTC
LGTM.