Bug 1810035 - current csv after installing descheduler operator via OLM is incorrect.
Summary: current csv after installing descheduler operator via OLM is incorrect.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-scheduler
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.5.0
Assignee: Jan Chaloupka
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks: 1810033
TreeView+ depends on / blocked
 
Reported: 2020-03-04 13:03 UTC by RamaKasturi
Modified: 2020-07-13 17:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:17:56 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 92 0 None closed bug 1810035: csv: change name to clusterkubedescheduleroperator.v4.4.0 2021-02-16 22:05:09 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:18:17 UTC

Description RamaKasturi 2020-03-04 13:03:36 UTC
Description of problem:
While installing descheduler operator via OLM the operator fails to install and upon debugging further below is what i understand that the current csv is incorrect.

To be replaced by art tool,  the values should be name: clusterkubedescheduleroperator.v4.4.0 in cluster-kube-descheduler-operator.v4.4.0.clusterserviceversion.yaml#L4

For example , Below are the files for cluster-logging:
=========================================================
https://github.com/openshift/cluster-logging-operator/blob/master/manifests/4.5/cluster-logging.v4.5.0.clusterserviceversion.yaml#L7

https://github.com/openshift/cluster-logging-operator/blob/master/manifests/art.yaml#L5

Below are the files for descheduler operator:
=============================================
https://github.com/openshift/cluster-kube-descheduler-operator/blob/master/manifests/4.4/cluster-kube-descheduler-operator.v4.4.0.clusterserviceversion.yaml#L4

https://github.com/openshift/cluster-kube-descheduler-operator/blob/master/manifests/art.yaml#L5



Version-Release number of selected component (if applicable):
[ramakasturinarra@dhcp35-60 4.4]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.4.0-0.nightly-2020-03-02-231151   True        False         29h   

How reproducible:


Steps to Reproduce:
1. Run the scripts below to install descheduelr-operator via OLM
2. sh get_medadata_from_app_registry.sh 4.4 redhat-operators-art cluster-kube-descheduler-operator
3. sh use_downstream_operatorresource.sh aosqe4
4. sh sync_images_to_internal_registry.sh 
5. Try installing descheduler operator via webconsole

Actual results:
I see that descheduler operator install fails with error below and upon further debugging it is understood that the values should be name: clusterkubedescheduleroperator.v4.4.0 in cluster-kube-descheduler-operator.v4.4.0.clusterserviceversion.yaml#L4

Expected results:
descheduelr operator install should not fail

Additional info:
Scripts listed above can be downloaded from here

[ramakasturinarra@dhcp35-60 4.4]$ history | grep wget
  830  wget http://git.app.eng.bos.redhat.com/git/openshift-misc.git/plain/jenkins/v4-image-test/app_registry_tools/get_medadata_from_app_registry.sh
  904  wget http://git.app.eng.bos.redhat.com/git/openshift-misc.git/plain/jenkins/v4-image-test/app_registry_tools/use_downstream_operatorresource.sh
  928  wget http://git.app.eng.bos.redhat.com/git/openshift-misc.git/plain/jenkins/v4-image-test/app_registry_tools/sync_op_manifest_to_app_registry.sh
  933  wget http://git.app.eng.bos.redhat.com/git/openshift-misc.git/plain/jenkins/v4-image-test/app_registry_tools/sync_images_to_internal_registry.sh

Comment 4 RamaKasturi 2020-05-18 12:50:06 UTC
Moving the bug to verified state as i see that the current csv has everything pointed to 4.5 and i could successfully install the operator.

[ramakasturinarra@dhcp35-60 ocp_files]$ oc get csv
NAME                                                DISPLAY                     VERSION              REPLACES   PHASE
clusterkubedescheduleroperator.4.5.0-202005161517   Kube Descheduler Operator   4.5.0-202005161517              Succeeded

name: clusterkubedescheduleroperator.4.5.0-202005161517

[ramakasturinarra@dhcp35-60 ocp_files]$ oc get pods
NAME                                    READY   STATUS    RESTARTS   AGE
cluster-55db9855d9-2fgw9                1/1     Running   0          25m
descheduler-operator-64d674f84d-8fk79   1/1     Running   0          29m

Comment 5 RamaKasturi 2020-05-18 13:08:24 UTC
Verified bug in the payload below:
=================================
[ramakasturinarra@dhcp35-60 ocp_files]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-05-17-235851   True        False         108m    Cluster version is 4.5.0-0.nightly-2020-05-17-235851

Comment 7 errata-xmlrpc 2020-07-13 17:17:56 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:2409


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