Bug 1950409 - Descheduler operator code and docs still reference v1beta1
Summary: Descheduler operator code and docs still reference v1beta1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-scheduler
Version: 4.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Mike Dame
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-16 15:01 UTC by Mike Dame
Modified: 2021-07-27 23:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:01:29 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 187 0 None open Bug 1950409: Update v1beta1 references to v1 2021-04-16 15:09:29 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:01:41 UTC

Description Mike Dame 2021-04-16 15:01:58 UTC
The cluster-kube-descheduler-operator added a v1 version of its API, but the README, examples, and code still use v1beta1. These should be updated to v1

Comment 2 RamaKasturi 2021-04-19 07:24:03 UTC
NO new operator yet

Comment 3 RamaKasturi 2021-04-20 09:40:57 UTC
Verified the bug with the latest build but still see a reference to v1beta1, @mike, could you please help take a look ?

[knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-04-18-203506]$ ./oc get csv clusterkubedescheduleroperator.4.8.0-202104190907.p0 -o yaml | grep v1beta1
    operatorframework.io/properties: '{"properties":[{"type":"olm.gvk","value":{"group":"operator.openshift.io","kind":"KubeDescheduler","version":"v1"}},{"type":"olm.gvk","value":{"group":"operator.openshift.io","kind":"KubeDescheduler","version":"v1beta1"}},{"type":"olm.package","value":{"packageName":"cluster-kube-descheduler-operator","version":"4.8.0-202104190907.p0"}}]}'

All other places have been updated:
=====================================
[knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-04-18-203506]$ ./oc get csv clusterkubedescheduleroperator.4.8.0-202104190907.p0 -o yaml | grep v1
apiVersion: operators.coreos.com/v1alpha1
          "apiVersion": "operator.openshift.io/v1",
    operatorframework.io/properties: '{"properties":[{"type":"olm.gvk","value":{"group":"operator.openshift.io","kind":"KubeDescheduler","version":"v1"}},{"type":"olm.gvk","value":{"group":"operator.openshift.io","kind":"KubeDescheduler","version":"v1beta1"}},{"type":"olm.package","value":{"packageName":"cluster-kube-descheduler-operator","version":"4.8.0-202104190907.p0"}}]}'
      version: v1

    message: CSV minKubeVersion (1.21.0) less than server version (v1.21.0-rc.0+b2955f1)
    version: v1alpha1
    version: v1
      version: v1
      version: v1
      version: v1
      version: v1
      version: v1
      version: v1
      version: v1
    version: v1

[knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-04-18-203506]$ ./oc get kubedescheduler cluster -o yaml
apiVersion: operator.openshift.io/v1
kind: KubeDescheduler
metadata:

Comment 4 Mike Dame 2021-04-20 12:43:35 UTC
Hi,
That reference is just showing that the v1beta1 is still available (we need to temporarily support both versions for people to upgrade). So everything else looks good, and that is the appropriate place for it to show up.

Comment 5 RamaKasturi 2021-04-20 16:04:44 UTC
verified with the build below

[knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-04-18-203506]$ ./oc get csv
NAME                                                   DISPLAY                     VERSION                 REPLACES   PHASE
clusterkubedescheduleroperator.4.8.0-202104190907.p0   Kube Descheduler Operator   4.8.0-202104190907.p0              Succeeded

[knarra@knarra openshift-client-linux-4.8.0-0.nightly-2021-04-18-203506]$ ./oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-04-19-225513   True        False         10h     Cluster version is 4.8.0-0.nightly-2021-04-19-225513

Based on comment3 and comment4 moving the bug to verified state.

Comment 8 errata-xmlrpc 2021-07-27 23:01:29 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 (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


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