Skip to content

add plugin install feature, fix dependencies#14

Merged
metal3-io-bot merged 1 commit into
mainfrom
plugin_management
Feb 6, 2026
Merged

add plugin install feature, fix dependencies#14
metal3-io-bot merged 1 commit into
mainfrom
plugin_management

Conversation

@Rozzii
Copy link
Copy Markdown
Contributor

@Rozzii Rozzii commented Feb 3, 2026

This PR:

  • Introduces a new build element that will facilitate the installation of standalone IPA python plugins.
  • In some parts of the repo the SLES-15-SP5 and SP4 were referenced instead of SP6, this commit fixes the issue.
  • Nmstate build process was also deprecated, it is now updated to make sure rust build tool-chain is up to date to build new Nmstate version.
  • Network manager ovs plugin download url has changed, it is now updated in this commit

@Rozzii
Copy link
Copy Markdown
Contributor Author

Rozzii commented Feb 3, 2026

/cc @nuhakala

Copy link
Copy Markdown
Contributor

@smoshiur1237 smoshiur1237 left a comment

Choose a reason for hiding this comment

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

/approve

@smoshiur1237
Copy link
Copy Markdown
Contributor

/approve

@metal3-io-bot
Copy link
Copy Markdown
Member

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smoshiur1237

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

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

This PR introduces a plugin installation feature for standalone IPA (Ironic Python Agent) python plugins and updates several dependencies and version references. The main additions include a new ipa-plugin-installer element that allows copying and installing custom hardware managers/plugins into the IPA image during the build process.

Changes:

  • Adds new ipa-plugin-installer element with scripts to copy and install custom IPA plugins
  • Updates SLES version references from SP4/SP5 to SP6 throughout the codebase
  • Modernizes nmstate build process with updated rust toolchain installation
  • Corrects NetworkManager-ovs package download URL path

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
testenv.sh Updates IPA branch references and SLES version to SP6
ipa_builder_elements/sles-ipa-install/install.d/ironic-python-agent-ramdisk-source-install/60-ironic-python-agent-ramdisk-install Updates nmstate build with rust toolchain setup and fixes NetworkManager-ovs URL
ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-custom-reboot New script to copy plugin directories from host to build environment
ipa_builder_elements/ipa-plugin-installer/install.d/99-install-hardware-managers New script to install plugins into IPA virtual environment
ipa_builder_elements/ipa-plugin-installer/environment.d/10-hw-manager-defaults Sets default environment variables for plugin installation
build_ipa_sles.sh Integrates plugin installer element into build process
README.md Updates SLES version references in documentation

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

Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-custom-reboot Outdated
Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-plugins
Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-custom-reboot Outdated
Comment thread build_ipa_sles.sh
Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-custom-reboot Outdated
Copy link
Copy Markdown
Member

@nuhakala nuhakala left a comment

Choose a reason for hiding this comment

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

Should the new env variables that are used to configure plugins be documented in readme? They are easy to read from the code as well, but then the readme would become outdated.

  • DIB_IPA_PLUGINS -> comma separated list with no spaces
  • INCLUDE_PLUGINS
  • PLUGIN_INSTALLER

Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-custom-reboot Outdated
Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-custom-reboot Outdated
Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-custom-reboot Outdated
Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-plugins
Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-plugins
Comment thread ipa_builder_elements/ipa-plugin-installer/root.d/99-cp-plugins
Comment thread ipa_builder_elements/ipa-plugin-installer/install.d/99-install-hardware-managers Outdated
@tuminoid
Copy link
Copy Markdown
Member

tuminoid commented Feb 3, 2026

/hold

@Rozzii
Copy link
Copy Markdown
Contributor Author

Rozzii commented Feb 3, 2026

Should the new env variables that are used to configure plugins be documented in readme? They are easy to read from the code as well, but then the readme would become outdated.

* `DIB_IPA_PLUGINS` -> comma separated list with no spaces

* `INCLUDE_PLUGINS`

* `PLUGIN_INSTALLER`

I agree, I will add the new vars to the README.

@Rozzii Rozzii force-pushed the plugin_management branch 2 times, most recently from d5aaf2e to 0955366 Compare February 6, 2026 11:21
@Rozzii Rozzii force-pushed the plugin_management branch from 0955366 to a1ef3b7 Compare February 6, 2026 11:22
@Rozzii
Copy link
Copy Markdown
Contributor Author

Rozzii commented Feb 6, 2026

/hold cancel
IMO this is in good shape

This commit:
 - Introduces a new build element that will facilitate the installation of
   standalone IPA python plugins.
 - In some parts of the repo the SLES-15-SP5 and SP4 were referenced instead
   of SP6, this commit fixes the issue.
 - Nmstate build process was also deprecated, it is now updated to
   make sure rust build tool-chain is up to date to build new Nmstate version.
 - Network manager ovs plugin download url has changed, it is now updated
   in this commit

Signed-off-by: Adam Rozman <adam.rozman@est.tech>
@Rozzii Rozzii force-pushed the plugin_management branch from a1ef3b7 to 96fc037 Compare February 6, 2026 11:25
@Rozzii Rozzii requested a review from nuhakala February 6, 2026 11:26
@nuhakala
Copy link
Copy Markdown
Member

nuhakala commented Feb 6, 2026

/lgtm

@metal3-io-bot metal3-io-bot merged commit 04e4096 into main Feb 6, 2026
4 checks passed
@metal3-io-bot metal3-io-bot deleted the plugin_management branch February 6, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants