Skip to content

[release-4.20] METAL-1564: Use available images#157

Open
openshift-cherrypick-robot wants to merge 6 commits intoopenshift:release-4.20from
openshift-cherrypick-robot:cherry-pick-147-to-release-4.20
Open

[release-4.20] METAL-1564: Use available images#157
openshift-cherrypick-robot wants to merge 6 commits intoopenshift:release-4.20from
openshift-cherrypick-robot:cherry-pick-147-to-release-4.20

Conversation

@openshift-cherrypick-robot
Copy link
Copy Markdown

This is an automated cherry-pick of #147

/assign honza

zaneb added 6 commits January 7, 2026 14:06
Take the base filename from the DEPLOY_ISO/DEPLOY_INITRD environment
variables instead of hardcoding it.

Assisted-By: Cursor
Using a . instead of an _ is the standard for e.g. CoreOS images on the
mirror. ABI uses agent.x86_64.iso. Since x86_64 already has an
underscore in it, it may parse ambiguously in other contexts. Allow both
so as not to break any existing code in development.

Assisted-By: Cursor
A regression from 583e13f meant that
the DEPLOY_ISO and DEPLOY_INITRD files would not be found unless they
happened to be in the directory specified as IMAGE_SHARED_DIR (by
default /shared/html/images).

This change means that these files will always be found if specified,
and that the directory/directories that contain them will be searched
for arch-specific images unless the search directory is explicitly
overridden by IMAGE_SHARED_DIR.

Assisted-By: Cursor
The input images here are nothing to do with ironic, so choose a less
confusing name.

Assisted-By: Cursor
If no architecture-specific images are provided, fall back to the host
architecture image when the requested architecture is the host
architecture.

Assisted-By: Cursor
If we don't have images available for the requested architecture, return
false from SupportsArchitecture(). This ensures that the correct error
message is set in the controller, and avoids a segfault when we try to
call ServeImage() with an invalid architecture.

Assisted-By: Cursor
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Jan 7, 2026

@openshift-cherrypick-robot: Ignoring requests to cherry-pick non-bug issues: METAL-1564

Details

In response to this:

This is an automated cherry-pick of #147

/assign honza

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.

@openshift-ci openshift-ci Bot requested review from honza and zaneb January 7, 2026 14:07
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jan 7, 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 elfosardo 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

@honza
Copy link
Copy Markdown
Member

honza commented Jan 8, 2026

/retest-required

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jan 8, 2026

@openshift-cherrypick-robot: all tests passed!

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.

@openshift-bot
Copy link
Copy Markdown

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci Bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 11, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 11, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • do-not-merge/work-in-progress

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d5a39b64-32d1-4511-bd4a-1b1fd05f3230

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants