Bug 1881134

Summary: [release 4.6] cluster-csi-snapshot-controller-operator: Fix bug in reflector not recovering from "Too large resource version"
Product: OpenShift Container Platform Reporter: Lukasz Szaszkiewicz <lszaszki>
Component: StorageAssignee: Jan Safranek <jsafrane>
Storage sub component: Operators QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs, aos-storage-staff, jsafrane, piqin
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1880309 Environment:
Last Closed: 2020-10-27 16:43:35 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:
Bug Depends On: 1880309, 1880369    
Bug Blocks: 1879901    

Comment 1 Lukasz Szaszkiewicz 2020-09-21 15:26:25 UTC
it looks like the master/4.6 is still on https://github.com/openshift/cluster-csi-snapshot-controller-operator/blob/master/go.mod 1.18.3, please update at least to 1.18.6

Comment 2 Jan Safranek 2020-09-22 10:55:15 UTC
Solved by rebase to external-snapshotter v3.0.0 that brings k8s.io/client-go v0.19.0

Comment 4 Wei Duan 2020-09-25 06:10:34 UTC
According to comments "It looks like the issue only affects 1.18. According to https://github.com/kubernetes/kubernetes/issues/91073#issuecomment-652251669 the issue was first introduced in that version by changes done to the reflector. The fix is already present in 1.19."

In the cluster-csi-snapshot-controller-operator repo: 
$ git checkout -b 4.6.0-0.nightly-2020-09-24-211545 c536c8d4165e81f6c9c81de0627aeed6fc57bb5c
$ grep  'k8s.io/client-go' go.mod 
	k8s.io/client-go v0.19.0

Change status to VERIFIED.

Comment 7 errata-xmlrpc 2020-10-27 16:43:35 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196