Bug 2090829 - Bump OpenShift router to k8s 1.24
Summary: Bump OpenShift router to k8s 1.24
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.11.0
Assignee: Candace Holman
QA Contact: Shudi Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-26 16:01 UTC by Miciah Dashiel Butler Masters
Modified: 2022-08-10 11:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:14:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift router pull 395 0 None Merged Bug 2090829: Bump OpenShift router to k8s 1.24 and go 1.18 2022-06-16 13:55:06 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:15:00 UTC

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


Note You need to log in before you can comment on or make changes to this bug.