Bug 1950026
| Summary: | [Descheduler] Need better way to handle evicted pod count for removeDuplicate pod strategy | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | RamaKasturi <knarra> |
| Component: | kube-scheduler | Assignee: | Jan Chaloupka <jchaloup> |
| Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.8 | CC: | aos-bugs, maszulik, mfojtik |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:01:13 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
2021-04-15 15:28:18 UTC
Will not be fixed in 4.8 timeframe Upstream PR under review currently blocked by the bug[1] for verification, once the bug moves to ON_QA i will verify this bug as well. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1970828 Moving the bug to verified state as i see that removeDuplicate strategy works fine along with metrics shown in prometheus UI. [knarra@knarra ~]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.8.0-0.nightly-2021-06-14-145150 True False 132m Cluster version is 4.8.0-0.nightly-2021-06-14-145150 steps followed to verify the same: ================================= 1) Install 4.8 cluster 2) Enable TopologyAndDuplicates profile 3) Create pods using the command oc create dc hello --image=<image_name> 4) Edit the dc and change the replicas to 12 5) Change the descheduling interval to 60 seconds 6) Wait for one descheduler run to happen, browse through the prometheus UI and select descheduler_pods_evicted From the metrics you could see the right no.of pods that were evicted. Tested the same with deployment & replicaset and it all worked fine. 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 |