Bug 1531938
| Summary: | Log Message Spam if ClusterRoleBinding exists for non-existent ClusterRole | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Stefanie Forrester <dakini> |
| Component: | apiserver-auth | Assignee: | Mo <mkhan> |
| Status: | CLOSED ERRATA | QA Contact: | Chuan Yu <chuyu> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.7.1 | CC: | aos-bugs, eparis, evb, fshaikh, jialiu, jokerman, jolee, knewcomer, ksalunkh, mkhan, mmccomas, nagrawal, nmoraiti, pkanthal, rbost, rgregory, ssorce, tparsons, xtian |
| Target Milestone: | --- | ||
| Target Release: | 4.1.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: | 2019-06-04 10:40:18 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
Stefanie Forrester
2018-01-06 18:51:09 UTC
There was a role binding, but no role. I have deleted the invalid role binding from the cluster in question to work around this BZ. We should log, maybe even regularly. But not 850 times per second. Eric I am sympatethic to the request, but how do you propose we handle this? Should we write a new logging library that can deal with this ? If the message needs to be logged, rate limit it yourself (write a helper so others can use it if it doesn't exist). If we don't really need to know about this message and/or if there is nothing the admin can or should do to correct the situtation, we should reduce the log level. WIP upstream PR https://github.com/kubernetes/kubernetes/pull/58307 Hello, Do we have any update on this issue. Thanks, Kedar Salunkhe This has been fixed with https://github.com/openshift/origin/pull/21522 Verified. I have check the kube api log, no such log report now. oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.0.0-0.nightly-2019-03-06-074438 True False 43m Cluster version is 4.0.0-0.nightly-2019-03-06-074438 *** Bug 1699937 has been marked as a duplicate of this bug. *** 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, 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-2019:0758 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |