-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.14.0, 4.15.0, 4.16.0
-
No
-
Hypershift Sprint 250, Hypershift Sprint 251, Hypershift Sprint 252
-
3
-
False
-
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.
- blocks
-
OCPBUGS-32164 HCP: hypershift-operator on disconnected clusters ignores ImageContentSourcePolicies when a ImageDigestMirrorSet exist on the management cluster
- Closed
- is cloned by
-
OCPBUGS-32164 HCP: hypershift-operator on disconnected clusters ignores ImageContentSourcePolicies when a ImageDigestMirrorSet exist on the management cluster
- Closed
- is depended on by
-
CNV-37749 [GA] HCP/KubeVirt disconnected clusters
- Closed
- is related to
-
OCPNODE-1771 allow both CRD for ICSP resources to IDMS
- Closed
- relates to
-
OCPSTRAT-1266 Enhanced Support for Disconnected Installs in Hosted Control Plane
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update