Skip to content

Bump must-gather image reference to v4.22.0#624

Open
redhat-chai-bot wants to merge 1 commit into
openshift:release-5.0from
redhat-chai-bot:chai-bot/lso-mustgather-ref-bump
Open

Bump must-gather image reference to v4.22.0#624
redhat-chai-bot wants to merge 1 commit into
openshift:release-5.0from
redhat-chai-bot:chai-bot/lso-mustgather-ref-bump

Conversation

@redhat-chai-bot

Copy link
Copy Markdown

Aligns the local-storage-mustgather entry in config/manifests/stable/image-references with the operators.openshift.io/must-gather-image annotation in the CSV (both at v4.22.0).

Why

During the 5.0 ec.2 prepare-release-konflux run, the LSO bundle build failed with the Enterprise Contract olm.unpinned_references violation because the CSV's must-gather-image annotation still pointed at an upstream/floating tag instead of a digest-pinned production pullspec.

doozer's _replace_image_references rewrites these references to digest-pinned ART-built pullspecs at bundle build time, but only when the string in the CSV exactly matches the from.name declared in image-references. The two were misaligned:

  • image-references had: registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel9:v4.21.0
  • CSV annotation had: registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel9:v4.22.0

So the substitution never matched, the raw tag was shipped in the bundle, and EC rejected it.

This PR bumps image-references to v4.22.0 so it matches the CSV. doozer will then substitute both occurrences with the digest-pinned production pullspec and EC will pass.

Context

Opened on behalf of the ART team from <https://redhat-internal.enterprise.slack.com/archives/C0ARQM5UV88/p1779227614610569|this Slack thread>.

Aligns the local-storage-mustgather entry in image-references with the
must-gather-image annotation in the CSV (v4.22.0). When the two strings
match, doozer's _replace_image_references substitutes both occurrences
with the digest-pinned production pullspec at bundle build time, which
clears the olm.unpinned_references EC violation that blocked
prepare-release-konflux for 5.0 ec.2.
@coderabbitai

coderabbitai Bot commented May 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a5260591-454e-4aec-b413-9d80c522ca8c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from RomanBednar and dobsonj May 20, 2026 15:19
@openshift-ci

openshift-ci Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: redhat-chai-bot
Once this PR has been reviewed and has the lgtm label, please assign romanbednar for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 20, 2026
@openshift-ci

openshift-ci Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

Hi @redhat-chai-bot. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ashwindasr

Copy link
Copy Markdown

/ok-to-test

@openshift-ci openshift-ci Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 20, 2026
ashwindasr pushed a commit to openshift-eng/ocp-build-data that referenced this pull request May 20, 2026
Both bundles fail Konflux Enterprise Contract validation during
prepare-release-konflux for 5.0 ec.2:

- local-storage-operator: olm.unpinned_references on the CSV
  must-gather-image annotation (registry.redhat.io/openshift4/
  ose-local-storage-mustgather-rhel9 with floating tag).
- ptp-operator: olm.allowed_registries and olm.unpinned_references
  on the CSV must-gather-image annotation (quay.io/openshift/
  origin-ptp-operator-must-gather:4.21).

Upstream alignment fixes are in flight (must-gather refs in the CSV
must match the from.name in image-references so doozer's
_replace_image_references can substitute them with digest-pinned
production pullspecs):

- openshift/local-storage-operator#624
- openshift/ptp-operator#699

Both images have for_payload: false so disabling here does not
affect the release payload; it only excludes them from the bundle/
FBC sweep for ec.2. Re-enable once the upstream PRs merge and
the bundles build cleanly.
from:
kind: DockerImage
name: registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel9:v4.21.0
name: registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel9:v4.22.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we update CSV also with correct image name?

@gnufied

gnufied commented May 20, 2026

Copy link
Copy Markdown
Member

I opened #626 for main branch.

@openshift-ci

openshift-ci Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants