Skip to content

Conversation

@s3rj1k
Copy link
Member

@s3rj1k s3rj1k commented Jan 22, 2026

Add multi-architecture support for IPA image selection and improve configuration flexibility

Implements partially: metal3-io/ironic-standalone-operator#355
Related: metal3-io/ironic-standalone-operator#517

- inspector.ipxe.j2: Add architecture-specific boot selection using
  iPXE ${buildarch} variable. Parses DEPLOY_KERNEL_BY_ARCH and
  DEPLOY_RAMDISK_BY_ARCH to select correct IPA images for arm64/x86_64
  with fallback for unknown architectures.

- ironic-common.sh: Extract detect_ipa_by_arch() function for shared
  IPA image detection logic. Preserves preset BY_ARCH values while
  still detecting fallback URLs.

- configure-ironic.sh: Use shared detect_ipa_by_arch() function.

- runhttpd: Call detect_ipa_by_arch() before rendering inspector.ipxe
  to ensure multiarch env vars are available.

- ironic.conf.j2: Set both fallback and by_arch options independently.

- Make IPA_FORWARD_CONSOLE configurable (defaults to 'yes').

Signed-off-by: s3rj1k <[email protected]>
@metal3-io-bot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@metal3-io-bot metal3-io-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 22, 2026
@metal3-io-bot metal3-io-bot requested review from Rozzii and zaneb January 22, 2026 16:16
@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
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

@metal3-io-bot metal3-io-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 22, 2026
@s3rj1k
Copy link
Member Author

s3rj1k commented Jan 22, 2026

cc: @synthe102

@s3rj1k s3rj1k marked this pull request as ready for review January 22, 2026 16:18
@metal3-io-bot metal3-io-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 22, 2026
@s3rj1k s3rj1k changed the title ✨ Add multiarch support for IPA image selection ✨ Add multi-arch support for IPA image selection Jan 22, 2026
@s3rj1k s3rj1k changed the title ✨ Add multi-arch support for IPA image selection ✨ Add multi-architecture support for IPA image selection Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants