Bug 1817318 - Descheduler only honors short hand strategy names
Summary: Descheduler only honors short hand strategy names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-scheduler
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.4.0
Assignee: Mike Dame
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On: 1817316
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-26 06:19 UTC by RamaKasturi
Modified: 2020-05-04 11:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1817316
Environment:
Last Closed: 2020-05-04 11:47:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-kube-descheduler-operator pull 104 0 None closed [release-4.4] Bug 1817318: Fix bug in strategy name validation 2020-04-21 14:05:01 UTC
Github openshift cluster-kube-descheduler-operator pull 106 0 None closed [release-4.4] Bug 1817318: Add support for actual descheduler strategy names in operator config 2020-04-21 14:05:01 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:48:13 UTC

Description RamaKasturi 2020-03-26 06:19:29 UTC
+++ This bug was initially created as a clone of Bug #1817316 +++

Description of problem:
I see that the descheduler only honors short hand strategy names like duplicates, interpodaffinity, nodetaints etc where as it should also honor strategies "RemoveDuplicates" , RemovePodsViolatingInterPodAntiAffinity etc.

Version-Release number of selected component (if applicable):
4.4.0-0.nightly-2020-03-24-101858

How reproducible:
Always

Steps to Reproduce:
1. Install descheduler operator
2. Now set the strategy as "RemoveDuplicates"
3.

Actual results:
Descheduler does not create any kubedescheduler cluster object with this strategy and it gives below error.
and error is seen in the operator logs E0324 16:12:46.123566       1 target_config_reconciler.go:297] key failed with : expected one of the duplicates,interpodantiaffinity,lownodeutilization,nodeaffinity,nodetaints to be enabled but found following invalid strategies RemoveDuplicates

Expected results:
Descheduler should honor the startegy name "RemoveDuplicates"

Additional info:

This bug needs to be fixed for 4.4 as descheduler should work with both short hand and actual strategy names.

Comment 1 Maciej Szulik 2020-03-26 11:41:15 UTC
Mike if you make if for 4.4.0 feel free to change the target release here.

Comment 8 errata-xmlrpc 2020-05-04 11:47:28 UTC
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:0581


Note You need to log in before you can comment on or make changes to this bug.