Bug 1999763 - odf-operator.v4.9.0-119.ci failed with version in range: 4.9.0-119.ci for noobaa-operator
Summary: odf-operator.v4.9.0-119.ci failed with version in range: 4.9.0-119.ci for noo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: build
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ODF 4.9.0
Assignee: Boris Ranto
QA Contact: Vijay Avuthu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-31 17:25 UTC by Vijay Avuthu
Modified: 2023-08-09 16:37 UTC (History)
8 users (show)

Fixed In Version: 4.9.0-120.ci
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-13 17:45:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:5086 0 None None None 2021-12-13 17:45:43 UTC

Description Vijay Avuthu 2021-08-31 17:25:52 UTC
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

Comment 4 Boris Ranto 2021-08-31 20:45:51 UTC
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).

Comment 5 Boris Ranto 2021-08-31 21:18:46 UTC
This should do the trick:

https://gitlab.cee.redhat.com/ceph/rhcs-jenkins-jobs/-/merge_requests/698

Comment 9 Vijay Avuthu 2021-09-09 05:32:39 UTC
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

Comment 14 errata-xmlrpc 2021-12-13 17:45:30 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: 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


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