Description of problem: odf-operator.v4.9.0-119.ci failed with version in range: 4.9.0-119.ci for noobaa-operator Version-Release number of selected component (if applicable): odf-operator.v4.9.0-119.ci How reproducible: 1/1 Steps to Reproduce: 1. install OCS using ocs-ci ( PR 4647 ) 2. check the operator status 3. Actual results: 17:19:43 - MainThread - ocs_ci.ocs.ocp - WARNING - Failed to get resource: odf-operator.v4.9.0-119.ci of kind: csv, selector: None, Error: Error during execution of command: oc -n openshift-storage get csv odf-operator.v4.9.0-119.ci -n openshift-storage -o yaml. Error is Error from server (NotFound): clusterserviceversions.operators.coreos.com "odf-operator.v4.9.0-119.ci" not found UI: constraints not satisfiable: subscription odf-operator requires ocs-catalogsource/openshift-marketplace/stable-4.9/odf-operator.v4.9.0-119.ci, subscription odf-operator exists, bundle odf-operator.v4.9.0-119.ci requires an operator with package: noobaa-operator and with version in range: 4.9.0-119.ci Expected results: odf-operator.v4.9.0-119.ci should be in succeeded state Additional info: $ oc get csv No resources found in openshift-storage namespace. $ > It looks like dependency issue with metadata > job : https://ocs4-jenkins-csb-ocsqe.apps.ocp4.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/5640/console
must gather: http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/vavuthu-testpr/vavuthu-testpr_20210831T112853/logs/failed_testcase_ocs_logs_1630428470/deployment_ocs_logs/
The noobaa-operator version is v5.9.0 even downstream. We are setting the version to the version of noobaa-operator-bundle which is 4.9.0-NNN.ci in dependencies.yaml. We should either override the noobaa-operator version when creating the CSV or update the dependencies.yaml to point to version 5.9.0. Personally, I would prefer it if we could override the version so that all the bundles are tied by the version (we set the version for all the other bundles we build in 4.9 afaik).
This should do the trick: https://gitlab.cee.redhat.com/ceph/rhcs-jenkins-jobs/-/merge_requests/698
Verified: ========= build: odf-operator.v4.9.0-129.ci 8:41:42 - MainThread - ocs_ci.ocs.ocp - INFO - Resource odf-operator.v4.9.0-129.ci is in phase: Installing! 08:41:42 - MainThread - ocs_ci.utility.utils - INFO - Going to sleep for 5 seconds before next iteration 08:41:47 - MainThread - ocs_ci.utility.utils - INFO - Executing command: oc -n openshift-storage get csv odf-operator.v4.9.0-129.ci -n openshift-storage -o yaml 08:41:52 - MainThread - ocs_ci.ocs.ocp - INFO - Resource odf-operator.v4.9.0-129.ci is in phase: Succeeded! 08:41:52 - MainThread - ocs_ci.ocs.resources.packagemanifest - INFO - Waiting for a resource(s) of kind packagemanifest identified by name '' 08:41:52 - MainThread - ocs_ci.utility.utils - INFO - Executing command: oc -n openshift-marketplace get packagemanifest -n openshift-marketplace --selector=ocs-operator-internal=true -o yaml 08:42:03 - MainThread - ocs_ci.ocs.resources.packagemanifest - INFO - package manifest ocs-operator found! 08:42:03 - MainThread - ocs_ci.utility.utils - INFO - Executing command: oc -n openshift-marketplace get packagemanifest -n openshift-marketplace --selector=ocs-operator-internal=true -o yaml 08:42:14 - MainThread - ocs_ci.utility.utils - INFO - Executing command: oc -n openshift-storage get csv ocs-operator.v4.9.0-129.ci -n openshift-storage -o yaml 08:42:20 - MainThread - ocs_ci.ocs.ocp - INFO - Resource ocs-operator.v4.9.0-129.ci is in phase: Succeeded! odf-operator was successfully installed job: https://ocs4-jenkins-csb-ocsqe.apps.ocp4.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/5847/consoleFull
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: Red Hat OpenShift Data Foundation 4.9.0 enhancement, security, and bug fix 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:5086