Bug 2166222

Summary: CSV is missing disconnected env annotation and relatedImages spec
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: umanga <uchapaga>
Component: odf-drAssignee: umanga <uchapaga>
odf-dr sub component: multicluster-orchestrator QA Contact: Daniel Horák <dahorak>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: ebenahar, muagarwa, ocs-bugs, odf-bz-bot
Version: 4.12   
Target Milestone: ---   
Target Release: ODF 4.13.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.13.0-94 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2166223 (view as bug list) Environment:
Last Closed: 2023-06-21 15:23:21 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: 2166223    

Description umanga 2023-02-01 08:12:38 UTC
Description of problem (please be detailed as possible and provide log
snippests):

CSV is missing annotation for disconnected environment support and `RelatedImages` field. This causes UI to not show the operator in disconnected environment operators page. Also, image mirroring won't work as expected.

Version of all relevant components (if applicable):
4.12

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
No

Is there any workaround available to the best of your knowledge?
No

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?


Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1.
2.
3.


Actual results:
Missing disconnected env annotation and relatedImages spec

Expected results:
Disconnected env annotation and relatedImages spec should be present

Additional info:

Comment 6 Daniel Horák 2023-04-25 11:33:18 UTC
Tested and verified on version ODF 4.13.0-172. Related images and `disconnected` annotation are listed in CSV and ODF Multicluster Orchestrator is available in the UI.

$ export REGISTRY_AUTH_FILE=...
$ export IMAGE=quay.io/rhceph-dev/odf4-odf-multicluster-operator-bundle:v4.13.0-172
$ mkdir -p manifests

$ oc image extract --registry-config ${REGISTRY_AUTH_FILE} $IMAGE --path /manifests/:./manifests/ --confirm

$ cat manifests/odf-multicluster-orchestrator.clusterserviceversion.yaml | grep disconnected
    operators.openshift.io/infrastructure-features: '["disconnected"]'

$ cat manifests/odf-multicluster-orchestrator.clusterserviceversion.yaml | grep -A 5 relatedImages
    relatedImages:
    - image: quay.io/rhceph-dev/odf4-odf-multicluster-rhel9-operator@sha256:e93a0feff56ca98113ee47e01217e661d13f83fb42718768ba56dbbeb87808c7
      name: odf-multicluster-operator
    - image: quay.io/rhceph-dev/odf4-odf-multicluster-console-rhel9@sha256:7e45a138b9b27fa440026864c027938a3c95e6e0bc92b1a1c632962819b6db5d
      name: odf-multicluster-console
    version: 4.13.0-172.stable

OCP version 4.13.0-0.nightly-2023-04-21-084440

> VERIFIED

Comment 8 errata-xmlrpc 2023-06-21 15:23:21 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 (Red Hat OpenShift Data Foundation 4.13.0 enhancement 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/RHBA-2023:3742