Bug 1879975
| Summary: | [Descheduler] Descheduler cluster log shows permission issue message for any priorityclass given whether it exists or not. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | RamaKasturi <knarra> |
| Component: | kube-scheduler | Assignee: | Mike Dame <mdame> |
| Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.6 | CC: | aos-bugs, mdame, mfojtik |
| 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: | Environment: | ||
| Last Closed: | 2020-10-27 16:41:54 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
RamaKasturi
2020-09-17 13:37:25 UTC
permission issue is seen in the logs whether it exists or not. Verified with the payload below and i see that permission error is not thrown any more for a priorityclass which exists or does not exist. [ramakasturinarra@dhcp35-60 cucushift]$ oc get csv NAME DISPLAY VERSION REPLACES PHASE clusterkubedescheduleroperator.4.6.0-202009172018.p0 Kube Descheduler Operator 4.6.0-202009172018.p0 Succeeded [ramakasturinarra@dhcp35-60 cucushift]$ oc version Client Version: 4.6.0-202009160247.p0-0d989c3 Server Version: 4.6.0-0.nightly-2020-09-18-002612 Kubernetes Version: v1.19.0+b4ffb45 When priorityclass is not present, cluster pod logs shows below error. [ramakasturinarra@dhcp35-60 cucushift]$ oc logs -f cluster-74db674445-pc6kp I0918 07:19:46.671949 1 node.go:45] node lister returned empty list, now fetch directly I0918 07:19:46.763498 1 duplicates.go:66] "Failed to get threshold priority from strategy's params" err="priorityclasses.scheduling.k8s.io \"priorityclass1\" not found" When specified a default priority class which exists in the system , descheduler does not show any error in the cluster pod logs. When specified a user created priority class, descheduler does not show any error in the cluster pod logs. I will discuss with dev and raise new bugs if required for the initial points in the description 1 & 2 Based on the above moving the bug to verified state. 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 |