Skip to content

Comments

Improve error logging in pin-bundle-images.sh for EMPTY_SHA#1804

Open
stuggi wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
stuggi:pin_error_msg
Open

Improve error logging in pin-bundle-images.sh for EMPTY_SHA#1804
stuggi wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
stuggi:pin_error_msg

Conversation

@stuggi
Copy link
Contributor

@stuggi stuggi commented Feb 10, 2026

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:...

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 openshift-ci bot requested review from abays and rebtoor February 10, 2026 14:06
@stuggi stuggi requested review from dprince and removed request for rebtoor February 10, 2026 14:06
@stuggi
Copy link
Contributor Author

stuggi commented Feb 10, 2026

/retest

1 similar comment
@stuggi
Copy link
Contributor Author

stuggi commented Feb 12, 2026

/retest

Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 23, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, stuggi

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

@stuggi
Copy link
Contributor Author

stuggi commented Feb 23, 2026

/test functional

@stuggi
Copy link
Contributor Author

stuggi commented Feb 23, 2026

/cherry-pick 18.0-fr5

@openshift-cherrypick-robot

@stuggi: once the present PR merges, I will cherry-pick it on top of 18.0-fr5 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick 18.0-fr5

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.

@stuggi
Copy link
Contributor Author

stuggi commented Feb 23, 2026

/test openstack-operator-build-deploy-kuttl-4-18

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 23, 2026

@stuggi: 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 d682ea7 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants