Skip to content

[FS-539] Implement out of band bios configuration collection #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 15, 2023

Conversation

diogomatsubara
Copy link
Contributor

@diogomatsubara diogomatsubara commented Mar 13, 2023

What does this PR do

  • Updates alloy to use latest bmclib and ironlib which includes support to collect bios configuration
  • Use the new bmclib method to collect bios configuration during inventory collection

The HW vendor this change applies to (if applicable)

  • Dell

The HW model number, product name this change applies to (if applicable)

The BMC firmware and/or BIOS versions that this change applies to (if applicable)

What version of tooling - vendor specific or opensource does this change depend on (if applicable)

  • Latest bmclib and ironlib

How can this change be tested by a PR reviewer?

Running alloy oob inventory collection against a dell system

./alloy outofband -asset-source serverService -asset-ids $asset_id -asset-source serverService --publish-target serverService --trace --profile

@diogomatsubara diogomatsubara marked this pull request as ready for review March 14, 2023 07:17
@diogomatsubara diogomatsubara changed the title [FS-539] Implement out of band bios configuration [FS-539] Implement out of band bios configuration collection Mar 14, 2023
Copy link
Member

@joelrebel joelrebel left a comment

Choose a reason for hiding this comment

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

Thanks for the work here and fixing up the NIC data collection based on the latest ironlib changes. Can you update the deps found by renovate and lets ship it 🚀

@diogomatsubara
Copy link
Contributor Author

Thanks for the work here and fixing up the NIC data collection based on the latest ironlib changes. Can you update the deps found by renovate and lets ship it 🚀

I'll merge them individually and rebase this branch on main so we can have a neater history.

Newer version of bmc-toolbox/common package added a NICPorts attribute
of type []*common.NICPort to common.NIC
During out of band inventory collection also collects bios
configuration if the BMC supports it.
pin bmclib to 6f5089b since 100c294 introduced a bug that causes the
context to be cancelled when connecting to the bmc
In case the provider doesn't implement a BiosConfigurationGetter, don't
add that as an error in the asset which allows inventory publishing to
continue.
@diogomatsubara diogomatsubara force-pushed the FS-539-dell-oob-bios-config branch from b52fd54 to e94a887 Compare March 14, 2023 14:04
@diogomatsubara
Copy link
Contributor Author

@joelrebel I merged all the renovate deps into main, rebased this branch on main and it's ready for a stamp. Thanks for the review!

@diogomatsubara diogomatsubara merged commit 3278284 into main Mar 15, 2023
@diogomatsubara diogomatsubara deleted the FS-539-dell-oob-bios-config branch March 15, 2023 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants