Bug 2100527
| Summary: | Submariner operator uses image tag names rather than image digest | ||
|---|---|---|---|
| Product: | Red Hat Advanced Cluster Management for Kubernetes | Reporter: | Felix Dewaleyne <fdewaley> |
| Component: | Submariner | Assignee: | Stephen Kitt <skitt> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Noam Manos <nmanos> |
| Severity: | medium | Docs Contact: | Christopher Dawson <cdawson> |
| Priority: | high | ||
| Version: | rhacm-2.4 | CC: | fdewaley, gekis, jkho, maafried, marpears, mbabushk, mlele, njean, nyechiel, sgaddam, skitt |
| Target Milestone: | --- | Flags: | nmanos:
qe_test_coverage?
nyechiel: rhacm-2.7+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-02-09 05:37:50 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
Felix Dewaleyne
2022-06-23 15:44:17 UTC
Was Submariner deployed using the ACM UI directly, or were any changes made to account for the disconnected environment? Thanks, I think I have all the information I need here. Workaround: The ImageContentSourcePolicy has a limitation of working only with digest(sha): https://access.redhat.com/solutions/4817401. In addition, Submariner is currently using tagging references instead of digest. By default, the pull sources are the official Red Hat registry, so in order to redirect them to the other images, two steps need to be performed: 1. Create a registry override by using the MachineSet manifest. The override should point to the internal registry of the cluster or some other internal registry that is used. In addition, the "mirror-by-digest-only = false" option should be set as mentioned in the article. 2. In case no central internal registry is used, import the images and tag them into the cluster internal registry. During deployment, the submariner-operator will try to pull the images from the official Red Hat registry but because of the override, it will point to the alternative location. The plan to fix this is to specify related images in the CSV; see https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/contributors/design-proposals/related-images.md This is fixed in ACM 2.7. Deployment of the operator by using digest reference instead of tag has been verified. Now, instead of MachineSet with mirror configuration, a ImageContentSourcePolicy could be used to reference another registry. |