Bug 2090829

Summary: Bump OpenShift router to k8s 1.24
Product: OpenShift Container Platform Reporter: Miciah Dashiel Butler Masters <mmasters>
Component: NetworkingAssignee: Candace Holman <cholman>
Networking sub component: router QA Contact: Shudi Li <shudili>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: medium 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:14:36 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-26 16:01:12 UTC
Description of problem:

The current version of openshift/router 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/router/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.


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 5 Shudi Li 2022-06-17 02:16:05 UTC
Verified it with 4.11.0-0.nightly-2022-06-15-222801

1.
% oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.11.0-0.nightly-2022-06-15-222801   True        False         29m     Cluster version is 4.11.0-0.nightly-2022-06-15-222801
% 

2.
% oc rsync -n openshift-ingress $(oc get pods -n openshift-ingress --no-headers | grep "^router-default" | grep Running | head -1 | awk '{print $1}'):/usr/bin/openshift-router .
receiving file list ... done
openshift-router
%

3.
% strings ./openshift-router >> forbug.txt
%

4. can see k8s.io/api is v0.24.1, k8s.io/apimachinery is v0.24.1, k8s.io/apiserver is v0.24.1 and k8s.io/client-go is v0.24.1 by the below grep command

% grep -B1 "v0.24.1" forbug.txt 
k8s.io/api                   <--
v0.24.1
k8s.io/apimachinery          <--
v0.24.1
k8s.io/apiserver.            <--
v0.24.1
k8s.io/client-go             <--
v0.24.1
k8s.io/component-base
v0.24.1
--
k8s.io/api
v0.24.1
k8s.io/apimachinery
v0.24.1
k8s.io/apiserver
v0.24.1
k8s.io/client-go
v0.24.1
k8s.io/component-base
v0.24.1
%

Comment 7 errata-xmlrpc 2022-08-10 11:14:36 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