Verified on 4.17.
Create an HC (here we use an ARO-HCP-compatible HC)
fxie-mac:hypershift fxie$ oc get hc -A
NAMESPACE NAME VERSION KUBECONFIG PROGRESS AVAILABLE PROGRESSING MESSAGE
clusters 989407ecec28e8fef4bf 4.17.0-0.nightly-2024-07-31-035751 989407ecec28e8fef4bf-admin-kubeconfig Completed True False The hosted control plane is available
fxie-mac:hypershift fxie$ hcp oc get idms cluster -o yaml
apiVersion: config.openshift.io/v1
kind: ImageDigestMirrorSet
metadata:
creationTimestamp: "2024-07-31T10:52:28Z"
generation: 1
labels:
hypershift.openshift.io/managed: "true"
machineconfiguration.openshift.io/role: worker
name: cluster
resourceVersion: "1278"
uid: 2d3e1d51-bb58-4c49-97af-a249395a6d81
spec:
imageDigestMirrors: []
Patch HC so hc.spec.imageContentSources =
- mirrors:
- brew.registry.redhat.io
source: registry.redhat.io
- mirrors:
- brew.registry.redhat.io
source: registry.stage.redhat.io
- mirrors:
- brew.registry.redhat.io
source: registry-proxy.engineering.redhat.com
fxie-mac:hypershift fxie$ hcp oc get idms cluster -o yaml
apiVersion: config.openshift.io/v1
kind: ImageDigestMirrorSet
metadata:
creationTimestamp: "2024-07-31T10:52:28Z"
generation: 2
labels:
hypershift.openshift.io/managed: "true"
machineconfiguration.openshift.io/role: worker
name: cluster
resourceVersion: "21050"
uid: 2d3e1d51-bb58-4c49-97af-a249395a6d81
spec:
imageDigestMirrors:
- mirrors:
- brew.registry.redhat.io
source: registry.redhat.io
- mirrors:
- brew.registry.redhat.io
source: registry.stage.redhat.io
- mirrors:
- brew.registry.redhat.io
source: registry-proxy.engineering.redhat.com
Edit HC, remove hc.spec.imageContentSources
fxie-mac:hypershift fxie$ hcp oc get idms cluster -o yaml
apiVersion: config.openshift.io/v1
kind: ImageDigestMirrorSet
metadata:
creationTimestamp: "2024-07-31T10:52:28Z"
generation: 3
labels:
hypershift.openshift.io/managed: "true"
machineconfiguration.openshift.io/role: worker
name: cluster
resourceVersion: "21236"
uid: 2d3e1d51-bb58-4c49-97af-a249395a6d81
spec:
imageDigestMirrors: []
Since the problem described in this issue should be resolved in a recent advisory, it has been closed.
For information on the advisory (Moderate: OpenShift Container Platform 4.17.0 bug fix and security update), and where to find the updated files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2024:3718