Skip to content

✨Switch to default_deploy_interface = autodetect#956

Open
steveb wants to merge 1 commit intometal3-io:mainfrom
steveb:autodetect
Open

✨Switch to default_deploy_interface = autodetect#956
steveb wants to merge 1 commit intometal3-io:mainfrom
steveb:autodetect

Conversation

@steveb
Copy link
Copy Markdown
Contributor

@steveb steveb commented Mar 25, 2026

What this PR does / why we need it:

This changes the default deploy interface from direct to autodetect[1]. For all existing supported scenarios this will result in the direct interface being used during deployment, but this will also enable bootc container images to be used for deployment.

The check for bootc only occurs when the image source uses an oci:// URL protocol.

[1] https://docs.openstack.org/ironic/latest/admin/interfaces/deploy.html#id6

Checklist:

  • Documentation has been updated, if necessary.
  • Integration tests have been added, if necessary.

@metal3-io-bot
Copy link
Copy Markdown
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 dtantsur 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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 25, 2026
@metal3-io-bot
Copy link
Copy Markdown
Contributor

Hi @steveb. Thanks for your PR.

I'm waiting for a metal3-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 25, 2026
@steveb steveb changed the title Switch to default_deploy_interface = autodetect ✨Switch to default_deploy_interface = autodetect Mar 25, 2026
@elfosardo
Copy link
Copy Markdown
Member

/ok-to-test

@metal3-io-bot metal3-io-bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 25, 2026
@elfosardo
Copy link
Copy Markdown
Member

@steveb you need to sign the commit

Copy link
Copy Markdown
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 26, 2026
@lentzi90
Copy link
Copy Markdown
Member

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

@lentzi90
Copy link
Copy Markdown
Member

Test failures are unrelated. CI is broken because of v1beta2 changes happening in CAPM3. Should be fixed shortly.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Ironic container’s default deploy interface configuration to use autodetect so deployments can automatically select bootc for oci:// images while preserving direct for existing scenarios.

Changes:

  • Set default_deploy_interface from direct to autodetect.
  • Enable the autodetect deploy interface and configure its priority order (bootc then direct).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

auth_strategy = noauth
debug = true
default_deploy_interface = direct
default_deploy_interface = autodetect
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Note that this value is most probably overridden by BMO, changing which will be much trickier (need to detect availability)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have a recorded demo of autodetect->bootc working with this change and upstream BMO. I don't see anywhere in BMO which sets deploy_interface=direct explicitly.

I do see some special handling which switches deploy_interface to ramdisk or custom-agent on a per node basis. It looks like the ramdisk path could be reworked at any time to defer to autodetect if that is the existing deploy interface.

@dtantsur
Copy link
Copy Markdown
Member

dtantsur commented Apr 1, 2026

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

@metal3-io-bot
Copy link
Copy Markdown
Contributor

@steveb: 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
metal3-ubuntu-e2e-integration-test-main 54e04e4 link true /test metal3-ubuntu-e2e-integration-test-main
metal3-centos-e2e-integration-test-main 54e04e4 link true /test metal3-centos-e2e-integration-test-main

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.

@metal3-io-bot
Copy link
Copy Markdown
Contributor

@steveb: 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
metal3-ubuntu-e2e-integration-test-main 54e04e4 link true /test metal3-ubuntu-e2e-integration-test-main
metal3-centos-e2e-integration-test-main 54e04e4 link true /test metal3-centos-e2e-integration-test-main
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.

This changes the default deploy interface from direct to autodetect[1]. For
all existing supported scenarios this will result in the direct
interface being used during deployment, but this will also enable bootc
container images to be used for deployment.

The check for bootc only occurs when the image source uses an oci:// URL
protocol.

[1] https://docs.openstack.org/ironic/latest/admin/interfaces/deploy.html#id6

Signed-off-by: Steve Baker <sbaker@redhat.com>
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2026
@metal3-io-bot
Copy link
Copy Markdown
Contributor

New changes are detected. LGTM label has been removed.

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

Labels

ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants