Bug 1957127 - Delegated authentication: reduce the number of watch requests
Summary: Delegated authentication: reduce the number of watch requests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.8
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.8.0
Assignee: Ankita Thomas
QA Contact: kuiwang
URL:
Whiteboard:
Depends On:
Blocks: 1948311
TreeView+ depends on / blocked
 
Reported: 2021-05-05 08:20 UTC by Lukasz Szaszkiewicz
Modified: 2021-07-27 23:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:06:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift operator-framework-olm pull 74 0 None open Bug 1957127: pin apiserver for DelegatingAuthenticationOptions TokenReview request timeout 2021-05-10 15:22:18 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:06:39 UTC

Description Lukasz Szaszkiewicz 2021-05-05 08:20:58 UTC
The operator-lifecycle-manager repository uses the delegated authentication which has been identified to contain a bug that increases the number of watch requests against the Kube API server.

We provided a temporary branch that contains a fix and strongly recommend switching the repository to that branch. 

Please change k8s.io/apiserver to temporary-watch-reduction-patch-1.21 to pick up https://github.com/kubernetes/kubernetes/pull/101102

Feel free to remove it once the upstream PR merges and a new Z release is cut.


The improvement is significant. For example, after the fix, we reduced the number of watch requests from 1248 to 26 for the kube-apiserver-operator.

Please have a look at https://github.com/openshift/cluster-kube-apiserver-operator/pull/1110 for instructions on how to use the branch with the fix.


Note the issue was introduced in 1.20

We already provided a fix https://github.com/kubernetes/kubernetes/pull/101103 to that version.
The next 1.20.z release is planned after the release of 4.8. 

Thus I would encourage you to switch to 1.21 and temporary-watch-reduction-patch-1.21 branch

Comment 1 Lukasz Szaszkiewicz 2021-05-06 07:31:12 UTC
I don't want to set it to blocker+, please make sure it lands in 4.8

Comment 7 errata-xmlrpc 2021-07-27 23:06:17 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.8.2 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:2438


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