Bug 2092041

Summary: Bump cluster-dns-operator to k8s 1.24
Product: OpenShift Container Platform Reporter: Miciah Dashiel Butler Masters <mmasters>
Component: NetworkingAssignee: Candace Holman <cholman>
Networking sub component: DNS QA Contact: Melvin Joseph <mjoseph>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: hongli
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:15:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miciah Dashiel Butler Masters 2022-05-31 15:35:33 UTC
Description of problem:

The current version of openshift/cluster-dns-operator vendors Kubernetes 1.23 packages.  OpenShift 4.11 is based on Kubernetes 1.24.  


OpenShift release version:

4.11.


Steps to Reproduce (in detail):

1. Check <https://github.com/openshift/cluster-dns-operator/blob/release-4.11/go.mod>.


Actual results:

Kubernetes packages (k8s.io/api, k8s.io/apimachinery, and k8s.io/client-go) are at version v0.23.0 or v0.23.5.


Expected results:

Kubernetes packages are at version v0.24.0 or later.


Impact of the problem:

Using old Kubernetes API and client packages brings risk of API compatibility issues.

Comment 3 Melvin Joseph 2022-06-25 17:37:03 UTC
melvinjoseph@mjoseph-mac Downloads % oc get clusterversion

NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.11.0-0.nightly-2022-06-25-081133   True        False         41m     Cluster version is 4.11.0-0.nightly-2022-06-25-081133

melvinjoseph@mjoseph-mac Downloads % oc get pods -n openshift-dns-operator
NAME                            READY   STATUS    RESTARTS   AGE
dns-operator-759b99c5cd-qjl82   2/2     Running   0          85m

melvinjoseph@mjoseph-mac Downloads % oc rsync -n openshift-dns-operator dns-operator-759b99c5cd-qjl82:/usr/bin/dns-operator .
receiving file list ... done
dns-operator

sent 38 bytes  received 48135601 bytes  3850851.12 bytes/sec
total size is 48123760  speedup is 1.00
Defaulted container "dns-operator" out of: dns-operator, kube-rbac-proxy
melvinjoseph@mjoseph-mac Downloads % strings ./dns-operator >> forbug.txt

melvinjoseph@mjoseph-mac Downloads % grep -B1 "v0.24" forbug.txt  
k8s.io/api
v0.24.1                  <--
k8s.io/apimachinery
v0.24.1                  <--
k8s.io/client-go
v0.24.1                  <--
k8s.io/component-base
v0.24.1
--
k8s.io/kubectl
v0.24.1                  <--
--
k8s.io/api
v0.24.1
k8s.io/apimachinery
v0.24.1
k8s.io/client-go
v0.24.1
k8s.io/component-base
v0.24.1
--
k8s.io/kubectl
v0.24.1

Hence verified

Comment 5 errata-xmlrpc 2022-08-10 11:15:18 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069