OCPBUGS-86544: bootstrap: limit jq RepoDigests filter to first match#10705
OCPBUGS-86544: bootstrap: limit jq RepoDigests filter to first match#10705jira-solve-bot wants to merge 1 commit into
Conversation
When the release image has been pulled from multiple registries, podman inspect returns multiple RepoDigests with the same digest. The jq filter returned all matches as a multi-line string, which was assigned to RELEASE_IMAGE_DIGEST. Downstream consumers like crio-configure.sh then passed this invalid multi-line reference to podman run, causing "invalid reference format" errors that blocked bootkube.service and failed the entire cluster bootstrap. Wrap the jq filter with first() so only one RepoDigest is returned, regardless of how many registries have cached the image. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@jira-solve-bot: This pull request references Jira Issue OCPBUGS-86544, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
Hi @jira-solve-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 Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughChangesRelease image digest resolution
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/ok-to-test |
|
/jira refresh |
|
@rna-afk: This pull request references Jira Issue OCPBUGS-86544, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/test e2e-aws-ovn |
|
/test e2e-azure-ovn |
|
@jira-solve-bot: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Description
When the release image has been pulled from multiple registries,
podman inspectreturns multipleRepoDigestswith the same digest. The jq filter returned all matches as a multi-line string, which was assigned toRELEASE_IMAGE_DIGEST. Downstream consumers likecrio-configure.shthen passed this invalid multi-line reference topodman run, causing "invalid reference format" errors that blockedbootkube.serviceand failed the entire cluster bootstrap.This change wraps the jq filter with
first()so only oneRepoDigestis returned, regardless of how many registries have cached the image.Jira
https://redhat.atlassian.net/browse/OCPBUGS-86544
Always review AI generated responses prior to use.
Generated with Claude Code via openshift-developer plugin
Summary by CodeRabbit