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 into
openstack-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 into
openstack-k8s-operators:18.0-fr5from
openshift-cherrypick-robot:cherry-pick-1804-to-18.0-fr5

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

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

openshift-ci Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

[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

stuggi commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

/test functional

@softwarefactory-project-zuul

Copy link
Copy Markdown

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

@stuggi

stuggi commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

/retest

@stuggi

stuggi commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

recheck

@softwarefactory-project-zuul

Copy link
Copy Markdown

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/36dac710269e45f2872a23dd8e7c0cc8

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 36m 09s
podified-multinode-edpm-deployment-crc FAILURE in 19m 09s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 20m 05s
openstack-operator-tempest-multinode FAILURE in 23m 45s

@lmiccini

Copy link
Copy Markdown
Contributor

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

@lmiccini

Copy link
Copy Markdown
Contributor

recheck

@softwarefactory-project-zuul

Copy link
Copy Markdown

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/a5384cc5d74448f583102eb43c978e0d

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 03m 58s
podified-multinode-edpm-deployment-crc POST_FAILURE in 1h 22m 23s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 39m 01s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 49m 13s

@lmiccini

lmiccini commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

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

@lmiccini

lmiccini commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

recheck

@stuggi

stuggi commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

/retest

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.

3 participants