Skip to content

[18.0-fr5] Improve error logging in pin-bundle-images.sh for EMPTY_SHA#1827

Open
openshift-cherrypick-robot wants to merge 1 commit intoopenstack-k8s-operators:18.0-fr5from
openshift-cherrypick-robot:cherry-pick-1804-to-18.0-fr5
Open

[18.0-fr5] Improve error logging in pin-bundle-images.sh for EMPTY_SHA#1827
openshift-cherrypick-robot wants to merge 1 commit intoopenstack-k8s-operators:18.0-fr5from
openshift-cherrypick-robot:cherry-pick-1804-to-18.0-fr5

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #1804

/assign stuggi

Add detailed error output when SHA cannot be found for a bundle image.
This helps debug issues like local path replacements being processed
as bundles.

Error output now includes:
- MOD_PATH: The go module path being processed
- BASE: The extracted operator base name
- REF: The git reference/version
- REPO_URL: The repository URL being queried
- REPO_CURL_URL: The API URL used for queries
- Bundle: The full bundle image reference attempted

Example output when failing:
  ERROR: Failed to find bundle image SHA for:
    MOD_PATH: ./api
    BASE: api
    REF: 00010101000000-000000000000
    REPO_URL: quay.io/openstack-k8s-operators
    REPO_CURL_URL: https://quay.io/api/v1/repository/./api
    Bundle: quay.io/openstack-k8s-operators/api-operator-bundle:...

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: openshift-cherrypick-robot
Once this PR has been reviewed and has the lgtm label, please assign abays 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

@stuggi
Copy link
Contributor

stuggi commented Feb 25, 2026

/test functional

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/015f8603134f4411acf319f80886176e

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 58m 01s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 11m 49s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 44m 25s
openstack-operator-tempest-multinode RETRY_LIMIT in 14m 13s

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2026

@openshift-cherrypick-robot: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/openstack-operator-build-deploy-kuttl-4-18 ea0e187 link true /test openstack-operator-build-deploy-kuttl-4-18

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants