New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release-4.11] OCPBUGS-5787: clusterquotareconciliation: do not sync quota monitor cache with no monitors registered #96
Conversation
…onitors registered Empty list of resources is a sign of incorrectness in the cluster. Either the kube-apiserver incorrectly returns an empty list with no error. Or, the client-code responsible for processing response from the discovery is incorrectly interpretting the server error. If the list of resources is zero, all current monitors are cleared and removed. Followed by invoking c.quotaMonitor.IsSynced which is always false when there's no monitor running. In which case cache.WaitForCacheSync never returns and loops indefinitely. Never resyncing the resources. Thus, none of the resources mentioned on any ClusterResourceQuota's status are recomputed since there's no resource monitor to provide current resource usage.
@openshift-cherrypick-robot: Jira Issue OCPBUGS-723 has been cloned as Jira Issue OCPBUGS-5787. Retitling PR to link against new bug. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-5787, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@openshift-cherrypick-robot: No Bugzilla bug is referenced in the title of this pull request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: openshift-cherrypick-robot, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label backport-risk-assessed |
@openshift-cherrypick-robot: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/label cherry-pick-approved |
Manually overriding valid-bug label, we have #95 already in the queue, but due to current timing it will merge a bit later, and we need to expedite the delivery of 4.11 and 4.10 |
@openshift-cherrypick-robot: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-5787 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is an automated cherry-pick of #94
/assign ingvagabund