Bug 1840708 - ose-csi-external-resizer-rhel7 missing in relatedImages section of OCS operator CSV
Summary: ose-csi-external-resizer-rhel7 missing in relatedImages section of OCS operat...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Danny
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On: 1847982
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-27 13:12 UTC by Daniel Horák
Modified: 2023-09-15 00:32 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1847982 (view as bug list)
Environment:
Last Closed: 2020-11-11 15:27:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1798052 0 unspecified CLOSED relatedImages parameter missing from OCS operator CSV 2021-02-22 00:41:40 UTC

Description Daniel Horák 2020-05-27 13:12:50 UTC
Description of problem:
  If you will compare list of all images mentioned anywhere in the
  /manifests/4.4.0-437.ci/ocs-operator.v4.4.0-437.ci.clusterserviceversion.yaml
  file (for version 4.4.0-437.ci) with the images mentioned just in the
  relatedImages section of the file, the ose-csi-external-resizer-rhel7 image
  is mentioned as ROOK_CSI_RESIZER_IMAGE, but not in the relatedImages section.

podman run --rm --entrypoint /usr/bin/cat quay.io/rhceph-dev/ocs-olm-operator@sha256:b2201851368352c757e8f5f0e819aaa9e66f95fd25ec91add01a5b82122f4bed /manifests/4.4.0-437.ci/ocs-operator.v4.4.0-437.ci.clusterserviceversion.yaml

Version of all relevant components (if applicable):
  ocs-olm-operator:4.4.0-437.ci


Does this issue impact your ability to continue to work with the product?
  This is necessary for working in restricted network environments.


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?
  Yes


Can this issue reproduce from the UI?
  No


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


Steps to Reproduce:
1. Get ocs-operator.v4.4.0-*.ci.clusterserviceversion.yaml file:
  $ podman run --rm --entrypoint /usr/bin/cat \
    quay.io/rhceph-dev/ocs-olm-operator:4.4.0-437.ci \
    /manifests/4.4.0-437.ci/ocs-operator.v4.4.0-437.ci.clusterserviceversion.yaml \
    > ocs-operator.v4.4.0-437.ci.clusterserviceversion.yaml

2. Find all images in csv file (following command might not be 100% accurate!)
  $ cat ocs-operator.v4.4.0-437.ci.clusterserviceversion.yaml | grep sha256 | \
    sed 's/^[ -]*\(image\|value\): *//' | sort -u

3. Select all images from relatedImages section (following command might not be 
  100% accurate!)
  $ cat ocs-operator.v4.4.0-437.ci.clusterserviceversion.yaml | \
    grep -A 30 relatedImages: | \
    grep sha256 | sed 's/^[ -]*\(image\|value\): *//' | sort -u

4. Compare the list of images from previous two steps.


Actual results:
  The list of all mentioned images in csv is not the same as images mentioned
  in the relatedImages section.


Expected results:
  All images mentioned in the csv should be also in the relatedImages section.


Additional info:
  See also https://bugzilla.redhat.com/show_bug.cgi?id=1798052.

Comment 1 Humble Chirammal 2020-06-01 10:18:58 UTC
Even though resizing is not supported at OCS 4.4, there was no ACK to remove it from the release CSV. So, its interesting is that how this went missing. 

We had a Bugzilla discussion to disable it in OCS 4.4, but got NACK https://bugzilla.redhat.com/show_bug.cgi?id=1821635

Jose/Umanga, can you check this from OCS operator side, why it went missing?

Comment 3 Humble Chirammal 2020-06-01 10:37:33 UTC
(In reply to umanga from comment #2)
> We added flag to provide resizer image built by us instead of the upstream
> one but missed adding it to CSV.
> 
> https://github.com/openshift/ocs-operator/pull/534 takes care of that.

Yeah, noticed that PR in between in the OCS operator repo. 


> 
> I don't understand the state of this BZ. If this is required for 4.4
> (Disconnected Install), why is the flag set for 4.5?
> Do we have a separate BZ for 4.4? or do we ack this for 4.4 and request for
> backport of the fix?

Unfortunately,  this is  a regression and ideally should be fixed 
in OCS 4.4 builds too. 

Raz, Anat, Michael, we need an action plan here for OCS 4.4.

That said, the upstream PR has to be merged and we have to backport this to downstream 
ocs operator build. 


Considering OCS 4.4 is planned GA tomorrow, we need an immediate action here.

ps # I am also changing the component to ocs operator.

Comment 6 Petr Balogh 2020-06-01 11:55:19 UTC
RelatedImages in the CSV if needed only for mirroring of the images for disconnected environment which will be part of OCP 4.5. Do we really need to do another build for this issue for 4.4.

IIUC that it will affect only disconnected deployment and mirroring of the images but maybe I am missing something. Does it affect something else?

Thanks

Comment 7 Michael Adam 2020-06-02 07:34:44 UTC
(In reply to Humble Chirammal from comment #1)
> Even though resizing is not supported at OCS 4.4, there was no ACK to remove
> it from the release CSV. So, its interesting is that how this went missing. 
> 
> We had a Bugzilla discussion to disable it in OCS 4.4, but got NACK
> https://bugzilla.redhat.com/show_bug.cgi?id=1821635

Right, we decided to not disable the resizer sidecar.

I am also trying to understand what is the impact of this BZ?
Does it effect in disconnected not working?
We already sacrificed disconnected by re-introducing lib-bucked-provisioner.
So does this make the situation any worse?
If no, then we don't need to do anything for 4.4 here...

@Raz?

Comment 8 Petr Balogh 2020-06-02 19:38:53 UTC
I think it only affect mirroring of the images (used for disconnected env) and nothing else.
From my POV it should be targeted to OCS 4.5 and no AI needed for 4.4 .

Comment 9 Raz Tamir 2020-06-16 09:30:19 UTC
removing needino based on Petr's reply

Comment 10 Jose A. Rivera 2020-06-17 13:37:15 UTC
This is already fixed in release-4.5. I believe folks are correct in that we dropped disconnected install from OCS 4.4. The presence of lib-bucket-provisioner doesn't make it impossible to install in a disconnected environment, Annette has found out how to work around it just, but it is a manual workaround so we still don't get one-button installation for OCS in a disconnected environment. Still, backporting this would make it even easier to do as a support exception or something, so I'm fine with it. I'm giving devel_ack+.

Comment 13 Michael Adam 2020-06-18 12:08:05 UTC
Already fixed for 4.5 --> POST

Comment 17 Michael Adam 2020-06-30 16:30:08 UTC
Assigning to danny who wrote the patch.

Do we actually NEED this in 4.4.z?
Or is 4.5 enough?

Comment 18 umanga 2020-07-03 07:28:21 UTC
(In reply to Michael Adam from comment #17)
> Assigning to danny who wrote the patch.
> 
> Do we actually NEED this in 4.4.z?
> Or is 4.5 enough?

I believe 4.5 is good enough as there's already some manual effort required in 4.4.z for disconnected install.
But, it'd be good to have in 4.4.z as well. Not a blocker.

Comment 19 Mudit Agarwal 2020-07-07 13:17:23 UTC
Because 4.5 PR is merged now and 4.4.2 is open for check-in, please provide devel_ack if we are planning to include this in 4.4.2

Comment 21 Danny 2020-08-25 08:05:32 UTC
(In reply to Michael Adam from comment #17)
> Assigning to danny who wrote the patch.
> 
> Do we actually NEED this in 4.4.z?
> Or is 4.5 enough?

sorry for the late reply. is more information still needed?

Comment 22 Yaniv Kaul 2020-11-09 09:30:27 UTC
Why is this BZ stuck in POST for so long?

Comment 25 Red Hat Bugzilla 2023-09-15 00:32:09 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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