Bug 1820253
Summary: | [Descheduler] RemovePodsViolatingNodeAffinity does not evict pods even when there are viable nodes which can fit them | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | RamaKasturi <knarra> | |
Component: | kube-scheduler | Assignee: | Mike Dame <mdame> | |
Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.4 | CC: | aos-bugs, maszulik, mdame, mfojtik | |
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: Descheduler would return early in a loop checking nodes to determine if pods were evictable in NodeAffinity strategy
Consequence: Pods that were evictable (because they would fit on a certain node) may not be evicted
Fix: Change break condition of the node-checking loop
Result: All nodes are considered when checking evictability
|
Story Points: | --- | |
Clone Of: | ||||
: | 1821772 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-13 17:25:01 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1821772 |
Description
RamaKasturi
2020-04-02 15:30:18 UTC
Upstream PR which I believe will fix this: https://github.com/kubernetes-sigs/descheduler/pull/256 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-2020:2409 |