Skip to content

step-registry: fix rosa-gather-rhobs-logs image resolution - #83500

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
redhat-chai-bot:fix-rosa-gather-rhobs-logs-image
Aug 17, 2026
Merged

step-registry: fix rosa-gather-rhobs-logs image resolution#83500
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
redhat-chai-bot:fix-rosa-gather-rhobs-logs-image

Conversation

@redhat-chai-bot

@redhat-chai-bot redhat-chai-bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary

The rosa-gather-rhobs-logs step ref (introduced in #83482) specifies from: rosa-aws-cli, which requires each consuming ci-operator config to import rosa-aws-cli into its stable imagestream via base_images. The FVT staging configs do not import this image, so the step's pod sits in ImagePullBackOff for ~1 hour before being reaped on every run.

Because the step is configured as best_effort: true, these failures are silently swallowed — jobs still report success — which is why the breakage went unnoticed since the step was merged.

Fix

Switch from from: to from_image:, which resolves the image directly from the ci namespace registry without requiring downstream configs to import it:

# Before (broken — requires each config to import the image):
  from: rosa-aws-cli

# After (self-resolving from ci namespace):
  from_image:
    namespace: ci
    name: rosa-aws-cli
    tag: latest

This matches the pattern used by other ROSA step refs that consume the same image.

Impact

  • Fixes all current and future consumers of the rosa-gather-hcp-diagnostics chain
  • No changes needed to any ci-operator config files
  • The rosa-aws-cli image already exists at registry.ci.openshift.org/ci/rosa-aws-cli:latest

Verification

The ci-operator rehearsal on this PR should confirm that the image resolves correctly. The affected jobs include all variants of cs-rosa-hcp-*-staging-main in the FVT staging config (openshift-online/rosa-e2e).

Evidence

Confirmed broken on both Aug 16 runs:

  • amd64 run 2088818288866889728 (SUCCESS overall, step silently failed)
  • arm run 2088858324459065344 (FAILURE overall, step silently failed)

Both showed identical ErrImagePull: manifest unknown for stable:rosa-aws-cli.


AI-generated. Review for accuracy.

@dustman9000 requested in Slack thread

Summary by CodeRabbit

  • Updated rosa-gather-rhobs-logs to resolve rosa-aws-cli from ci/rosa-aws-cli:latest through from_image.
  • Prevents ImagePullBackOff failures caused by missing images in the stable imagestream for FVT staging jobs.
  • No consuming ci-operator configuration changes are required.

The rosa-gather-rhobs-logs step ref uses `from: rosa-aws-cli`, which
requires each consuming ci-operator config to import that image into
the `stable` imagestream. Configs that do not import the image (e.g.
FVT staging jobs) hit ImagePullBackOff for ~1 hour before the pod is
reaped. Because the step is best_effort, the failure is silent.

Switch to `from_image` so the step self-resolves the image directly
from the ci registry (namespace: ci, name: rosa-aws-cli, tag: latest),
matching the pattern used by other ROSA step refs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: 2b945507-eb1d-43d8-a7e4-2028de4d2cec

📥 Commits

Reviewing files that changed from the base of the PR and between 4036357 and 0f2e82e.

📒 Files selected for processing (1)
  • ci-operator/step-registry/rosa/gather/rhobs-logs/rosa-gather-rhobs-logs-ref.yaml

Included review availability: Your plan includes up to 2 reviews per rolling hour; 1 remains after this review.


Walkthrough

The ROSA RHOBS log gather step now uses a structured from_image configuration for the ci/rosa-aws-cli:latest image.

Changes

ROSA RHOBS logs

Layer / File(s) Summary
Explicit image reference
ci-operator/step-registry/rosa/gather/rhobs-logs/rosa-gather-rhobs-logs-ref.yaml
Replaces from: rosa-aws-cli with explicit image namespace, name, and tag fields.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 0f2e8

This localized image-resolution change is merge-ready after normal checks and review; no actionable merge-blocking risk remains.

Suggested labels: approved

Suggested reviewers: dustman9000


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error, 1 inconclusive)

Check name Status Explanation Resolution
No-Sensitive-Data-In-Logs ❌ Error The image fix activates the step, which echoes cluster and management-cluster identifiers and writes unredacted RHOBS/CS log messages to artifacts; this may expose internal hostnames and customer d... Redact sensitive fields and restrict collected log content before enabling this artifact-producing step; do not publish raw RHOBS or CS messages.
No-Weak-Crypto ❓ Inconclusive The working tree has no diff, so changed-code evidence is unavailable; the current YAML only changes image resolution and contains no crypto usage. Provide the pull request diff or base revision to verify the introduced code.
✅ Passed checks (13 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the image resolution fix for the rosa-gather-rhobs-logs step.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The commit changes only a YAML step reference from from to from_image; it adds no Ginkgo tests or dynamic test titles.
Test Structure And Quality ✅ Passed The PR changes only a YAML step reference; no Ginkgo It blocks or test code changed, so this test-quality check is inapplicable.
Microshift Test Compatibility ✅ Passed The commit changes only a YAML step reference from from to from_image; it adds no Ginkgo tests or MicroShift-incompatible test behavior.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The PR changes only a step-reference YAML image source; the parent-to-HEAD diff adds no Ginkgo tests or multi-node test behavior, so SNO compatibility is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed The diff only changes a step image reference from from to from_image; it adds no deployment, controller, pod scheduling constraint, replica, affinity, taint, selector, or PDB behavior.
Ote Binary Stdout Contract ✅ Passed The PR changes only a YAML image reference; the referenced step is a shell script, and no Go OTE binary or process-level suite code changed.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The commit changes only one YAML step reference; it adds no Ginkgo e2e tests, IPv4 assumptions, or external connectivity requirements.
Container-Privileges ✅ Passed The PR only changes the image reference; the target step contains no privileged, host namespace, SYS_ADMIN, escalation, or root settings.
✨ 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.

@openshift-ci
openshift-ci Bot requested review from bmeng and joshbranham August 16, 2026 21:57
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@redhat-chai-bot: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-online-rosa-e2e-main-e2e-rosa-hcp-smoke openshift-online/rosa-e2e presubmit Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-periodics-rosa-hcp-e2e-staging-stable-4-22 N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-periodics-rosa-hcp-e2e-staging-stable-4-20 N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-ad-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-sanity-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-y-upgrade-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-upgrade-rosa-hcp-upgrade-staging-y-minus-1 N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-nx-y-upgrade-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-arm-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-amd64-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-integration-ocm-fvt-periodic-cs-rosa-hcp-ad-integration-regional-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-zero-egress-upgrade-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-upgrade-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-upgrade-rosa-hcp-upgrade-staging-y-minus-3 N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-hcp-e2e-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-adobe-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-sanity-jira-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-periodics-rosa-hcp-e2e-staging-stable-4-21 N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-pl-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-periodics-rosa-hcp-e2e-staging-nightly-5-0 N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-periodics-rosa-hcp-e2e-staging-stable-4-19 N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-integration-ocm-fvt-periodic-cs-rosa-hcp-autonode-integration-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-zero-egress-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-access-request-staging-main N/A periodic Registry content changed
periodic-ci-openshift-online-rosa-e2e-main-upgrade-rosa-hcp-upgrade-staging-y-minus-2 N/A periodic Registry content changed

A total of 29 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@dustman9000

Copy link
Copy Markdown
Member

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@dustman9000: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci

openshift-ci Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: The following tests 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/rehearse/periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-ad-ocp5-staging-main 0f2e82e link unknown /pj-rehearse periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-staging-ocm-fvt-periodic-cs-rosa-hcp-ad-ocp5-staging-main
ci/rehearse/periodic-ci-openshift-online-rosa-e2e-main-periodics-rosa-hcp-e2e-staging-stable-4-21 0f2e82e link unknown /pj-rehearse periodic-ci-openshift-online-rosa-e2e-main-periodics-rosa-hcp-e2e-staging-stable-4-21

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.

@dustman9000

Copy link
Copy Markdown
Member

/lgtm
/approve
/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@dustman9000: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Aug 17, 2026
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 17, 2026
@openshift-ci

openshift-ci Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dustman9000, redhat-chai-bot

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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 17, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 6666d23 into openshift:main Aug 17, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants