Bug 1907639

Summary: pass dual-stack node IPs to kubelet in dual-stack clusters
Product: OpenShift Container Platform Reporter: Dan Winship <danw>
Component: NetworkingAssignee: Dan Winship <danw>
Networking sub component: ovn-kubernetes QA Contact: Yurii Prokulevych <yprokule>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: aconstan, mcornea, yprokule
Version: 4.7   
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
(dual-stack is not documented for 4.7, so there would be nowhere to document this change)
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:43:42 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: 1912701    
Bug Blocks:    

Description Dan Winship 2020-12-14 22:11:48 UTC
In dual-stack clusters we need to pass dual node IPs to kubelet.

To verify:
- Install a dual-stack cluster
- do "oc get nodes -o yaml"
- confirm that all nodes list both an IPv4 and an IPv6 "InternalIP" address under .status.addresses

Comment 2 Anurag saxena 2021-01-12 15:04:18 UTC
@yprokule @mcornea Can you guys help verifying it? Going to be a quick check. Thanks

Comment 3 Marius Cornea 2021-01-12 19:28:37 UTC
oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.7.0-0.nightly-2021-01-12-150634   True        False         5m13s   Cluster version is 4.7.0-0.nightly-2021-01-12-150634


oc get node master-0-0.ocp-edge-cluster-0.qe.lab.redhat.com -o json | jq .status.addresses
[
  {
    "address": "192.168.123.149",
    "type": "InternalIP"
  },
  {
    "address": "fd2e:6f44:5dd8::102",
    "type": "InternalIP"
  },
  {
    "address": "master-0-0.ocp-edge-cluster-0.qe.lab.redhat.com",
    "type": "Hostname"
  }
]

Comment 6 errata-xmlrpc 2021-02-24 15:43:42 UTC
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633