-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.14.0, 4.15.0, 4.16.0
-
No
-
Hypershift Sprint 252, Hypershift Sprint 253
-
2
-
False
-
-
-
Bug Fix
-
In Progress
This is a clone of issue OCPBUGS-32164. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-29466. The following is the description of the original issue:
—
Description of problem:
The design doc for ImageDigestMirrorSet states: "ImageContentSourcePolicy CRD will be marked as deprecated and will be supported during all of 4.x. Update and coexistence of ImageDigestMirrorSet/ ImageTagMirrorSet and ImageContentSourcePolicy is supported. We encourage users to move to IDMS while supporting both in the cluster, but will not remove ICSP in OCP 4.x.". see: https://github.com/openshift/machine-config-operator/blob/master/docs/ImageMirrorSetDesign.md#goals see also: https://github.com/openshift/enhancements/blob/master/enhancements/api-review/add-new-CRD-ImageDigestMirrorSet-and-ImageTagMirrorSet-to-config.openshift.io.md#update-the-implementation-for-migration-path for the rationale behind it. but the hypershift-operator is reading ImageContentSourcePolicy only if no ImageDigestMirrorSet exists on the cluster, see: https://github.com/openshift/hypershift/blob/main/support/globalconfig/imagecontentsource.go#L101-L102
Version-Release number of selected component (if applicable):
4.14, 4.15, 4.16
How reproducible:
100%
Steps to Reproduce:
1. Set both an ImageContentSourcePolicy and ImageDigestMirrorSet with different content on the management cluster 2. 3.
Actual results:
the hypershift-operator consumes only the ImageDigestMirrorSet content ignoring the ImageContentSourcePolicy one.
Expected results:
since both ImageDigestMirrorSet and ImageContentSourcePolicy (although deprecated) are still supported on the management cluster, the hypershift-operator should align.
Additional info:
currently oc-mirror (v1) is only generating imageContentSourcePolicy.yaml without any imageDigestMirrorSet.yaml equivalent breaking the hypershift disconnected scenario on clusters where an IDMS is already there for other reasons.
- clones
-
OCPBUGS-32164 HCP: hypershift-operator on disconnected clusters ignores ImageContentSourcePolicies when a ImageDigestMirrorSet exist on the management cluster
- Closed
- is blocked by
-
OCPBUGS-32164 HCP: hypershift-operator on disconnected clusters ignores ImageContentSourcePolicies when a ImageDigestMirrorSet exist on the management cluster
- Closed
- links to
-
RHBA-2024:2668 OpenShift Container Platform 4.14.z bug fix update