Skip to content

fix: pin hypershift operator to avoid registry override regression (AROSLSRE-1318) - #5776

Merged
openshift-merge-bot[bot] merged 1 commit into
Azure:mainfrom
avollmer-redhat:fix/pin-hypershift-registry-override-regression
Jun 25, 2026
Merged

fix: pin hypershift operator to avoid registry override regression (AROSLSRE-1318)#5776
openshift-merge-bot[bot] merged 1 commit into
Azure:mainfrom
avollmer-redhat:fix/pin-hypershift-registry-override-regression

Conversation

@avollmer-redhat

@avollmer-redhat Anthony Vollmer (avollmer-redhat) commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

https://redhat.atlassian.net/browse/AROSLSRE-1318

What

Pins the HyperShift operator image tag in tooling/image-updater/config.yaml from latest to a101e6697af02eba43e6cfd04fc4c00277b72a64 (the current known-good build from 2026-06-05) to prevent the automated bumper from picking up the broken image.

No config/config.yaml change needed — the current digest on main (sha256:e30b97d... from Jun 19) is pre-regression and safe.

Why

The latest HyperShift operator image includes a regression in registryoverride.Replace (openshift/hypershift#8509, merged 2026-06-22). The bug causes repository-level --registry-overrides to fail for digest-based images (@sha256:...), because the code only accepts / as a valid separator after the source prefix.

This breaks all CAPI and component image rewrites in ARO-HCP environments where quay.io/openshift-release-dev/ocp-v4.0-art-dev is overridden to the mirrored ACR. The CPO tries to pull from quay.io directly and gets unauthorized, blocking cluster creation. The automated bumper PR #5740 has been failing e2e consistently with:

critical error: failed to get controlPlaneOperatorImageLabels: failed to look up image metadata for
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:...: unauthorized

Upstream bug: OCPBUGS-92034
Upstream fix: openshift/hypershift#8824 — approved, CI green, waiting on /lgtm

Unpin

Revert tag back to "latest" in tooling/image-updater/config.yaml once openshift/hypershift#8824 merges and a new image is published. Tracked in AROSLSRE-1318.

Testing

  • make yamlfmt — passes (no formatting changes)
  • Only file changed: tooling/image-updater/config.yaml (tag pin, no config.yaml or rendered config changes)

Previous precedent

Same pattern as #5371 (AROSLSRE-919) → unpinned in #5401 (AROSLSRE-921).

…ROSLSRE-1318)

The latest HyperShift operator image includes a regression in
registryoverride.Replace (openshift/hypershift#8509) that breaks
repository-level --registry-overrides for digest-based images.
This causes all CAPI and component image rewrites to fail in
environments using ACR mirrors, blocking cluster creation.

Pin to the known-good build (a101e669, 2026-06-05) until the
upstream fix (openshift/hypershift#8824, OCPBUGS-92034) merges
and a new image is published.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR pins the HyperShift operator source tag in the image-updater configuration to prevent automated digest bumps from tracking a regressed latest image that breaks registry overrides in ARO-HCP environments.

Changes:

  • Pin tooling/image-updater/config.yaml hypershift source.tag from "latest" to a specific commit SHA.
  • Add an inline comment documenting the upstream regression and the unpin tracker.

source:
image: quay.io/redhat-services-prod/crt-redhat-acm-tenant/hypershift/hypershift-operator
tag: "latest"
tag: "a101e6697af02eba43e6cfd04fc4c00277b72a64" # pinned: latest includes openshift/hypershift#8509 which breaks registry overrides for digest images (OCPBUGS-92034, unpin: AROSLSRE-1318)
@avollmer-redhat

Copy link
Copy Markdown
Collaborator Author

Local bumper test

Verified the pin works correctly by running the image-updater locally:

AZURE_TOKEN_CREDENTIALS=dev ./image-updater update --config config.yaml --tags --components maestro,hypershift

Result:

┌────────────┬───────────────┬───────────────┬──────────────────────────────────────────┬──────────────────┬─────────┐
│ NAME       │ OLD DIGEST    │ NEW DIGEST    │ TAG                                      │ DATE             │ STATUS  │
├────────────┼───────────────┼───────────────┼──────────────────────────────────────────┼──────────────────┼─────────┤
│ hypershift │ e30b97d22230… │ caea1a9e4d7c… │ a101e6697af02eba43e6cfd04fc4c00277b72a64 │ 2026-06-05 23:06 │ updated │
│ maestro    │ 1568fda504ca… │ 784f3670c04a… │ ff220ea357a20c79d07659263b8bbbd555d60abd │ 2026-06-24 15:55 │ updated │
└────────────┴───────────────┴───────────────┴──────────────────────────────────────────┴──────────────────┴─────────┘
  • hypershift: Resolved pinned tag a101e669...sha256:caea1a9e... (known-good Jun 5 build). Will no longer pick up latest.
  • maestro: Updated normally — confirms other components are unaffected by the pin.

@hbhushan3

Copy link
Copy Markdown
Collaborator

/lgtm
/approve

@openshift-ci

openshift-ci Bot commented Jun 24, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: avollmer-redhat, hbhushan3

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sclarkso

Copy link
Copy Markdown
Collaborator

/test e2e-parallel

1 similar comment
@sclarkso

Copy link
Copy Markdown
Collaborator

/test e2e-parallel

@openshift-merge-bot
openshift-merge-bot Bot merged commit 451665f into Azure:main Jun 25, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants