Bug 1993931

Summary: Storage operators use older kubernetes client
Product: OpenShift Container Platform Reporter: Jan Safranek <jsafrane>
Component: StorageAssignee: Jonathan Dobson <jdobson>
Storage sub component: Operators QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.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: 2021-10-18 17:46:26 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 Jan Safranek 2021-08-16 12:38:06 UTC
We should update all libraries in storage operators before releasing 4.9
At least openshift/library-go, openshift/api and kubernetes/client-go should be updated to the latest release.

These operators need to be updated:

aws-ebs-csi-driver-operator
aws-efs-csi-driver-operator
azure-disk-csi-driver-operator
cinder-csi-driver-operator
cluster-storage-operator
csi-snapshot-controller-operator
gcp-pd-csi-driver-operator
local-storage-operator
manila-csi-driver-operator
ovirt-csi-driver-operator
vmware-vsphere-csi-driver-operator
vsphere-problem-detector

Comment 1 Jan Safranek 2021-08-16 12:58:57 UTC
Note: for CSI driver operators, it would make sense to wait for new sidecars, so we use newly introduced leader election parameters to allow for longer API server outage.

Comment 2 Jan Safranek 2021-08-17 14:52:43 UTC
Make sure to remove this chunk from our go.mod:

// points to temporary-watch-reduction-patch-1.21 to pick up k/k/pull/101102 - please remove it once the pr merges and a new Z release is cut
replace k8s.io/apiserver => github.com/openshift/kubernetes-apiserver v0.0.0-20210419140141-620426e63a99

Comment 5 Wei Duan 2021-09-03 02:36:09 UTC
1. Checked this chunk removed from our go.mod in each operator:

// points to temporary-watch-reduction-patch-1.21 to pick up k/k/pull/101102 - please remove it once the pr merges and a new Z release is cut
replace k8s.io/apiserver => github.com/openshift/kubernetes-apiserver v0.0.0-20210419140141-620426e63a99

2. Check the ci result, looks no regression issue.

Change the status to "Verified."

Comment 8 errata-xmlrpc 2021-10-18 17:46:26 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.9.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-2021:3759