Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1810035

Summary: current csv after installing descheduler operator via OLM is incorrect.
Product: OpenShift Container Platform Reporter: RamaKasturi <knarra>
Component: kube-schedulerAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:17:56 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: 1810033    

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