Bug 2030675
| Summary: | [ocs-operator-bundle] Images missing from relatedImages | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Boris Ranto <branto> |
| Component: | ocs-operator | Assignee: | Malay Kumar parida <mparida> |
| Status: | CLOSED WONTFIX | QA Contact: | Elad <ebenahar> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.10 | CC: | mbukatov, mmuench, mparida, muagarwa, nigoyal, ocs-bugs, odf-bz-bot, sostapov |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.13.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-04-04 13:31:27 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: | |||
|
Description
Boris Ranto
2021-12-09 13:05:43 UTC
You merged the following MR as a workaround for this: https://gitlab.cee.redhat.com/ceph/rhodf/-/merge_requests/90/diffs#diff-content-7fd0dd211347568bcbcd101c8ee399bcb030c104 My question is... why? Does the *ocs-operator* bundle need to specify these? Shouldn't the noobaa-operator bundle have these references? I don't see anything about it here, and I'm wondering if there should be: https://gitlab.cee.redhat.com/ceph/rhodf/-/blob/rhodf-4.10-rhel-8/distgit/containers/noobaa-operator-bundle/render_templates.in Is it taken care of by the NooBaa command that generates the CSV? You still reference noobaa images (noobaa-core and noobaa-db) in the ocs-operator CSV, see here: http://pkgs.devel.redhat.com/cgit/containers/ocs-operator-bundle/tree/bundle/manifests/ocs-operator.clusterserviceversion.yaml?h=rhodf-4.10-rhel-8#n2427 This part is even being run -- that is how we discovered this issue. The issue is that if the images are not in the relatedImages field, the mirroring won't work properly -- the noobaa images won't get translated to the mirrored registry and ocs-operator is trying to access the images in the original registry. When doing a build we do mirror the images to quay.io and the original references do not exist -- they were not shipped to the RH registry, yet. This also breaks things like disconnected environment installations. Another option would be to drop the references to the images altogether. I am not sure if the code that references the noobaa images is actually needed or not. Ah-ha... yes, that might be redundant at this point. I see that the NooBaa CSV already seems to be referencing them properly: http://pkgs.devel.redhat.com/cgit/containers/noobaa-operator-bundle/tree/manifests/mcg-operator.clusterserviceversion.yaml?h=ocs-4.9-rhel-8#n845 This could just be a vestige that we missed when moving NooBaa to its own CSV, so I would want to see if we can remove them from the ocs-operator CSV entirely. Given that we have a workaround for the DS builds, and we're not stuck on this in our upstream testing, I think this should no longer be considered a potential blocker. We should probably still invest some time in digging further into this issue, but it's not hihg priority enough for me to consider it for ODF 4.10 relative to all the other work we're already doing. I don't think we have the engineering bandwidth to properly resolve this. Moving to ODF 4.11. Hmm, besides regression testing, could QE team test this directly somehow? Well, not really in a final build as we have the hack in the DS scripts that adds the missing related images to the CSV. Well, a way to test would be to try to generate the manifests directly from the ocs-operator repo and check what images are missing or not. Ok then, QE will cover this via regression testing only. Is this BZ still relevant? Yes, we have a DS hack in place that adds these related images to the CSV but it would be better if ocs-operatore generated the related images properly and we could drop the hack. |