Skip to content

Instantly share code, notes, and snippets.

@vxav
Created December 19, 2024 11:08
Show Gist options
  • Select an option

  • Save vxav/2eedbfbb30b7c059c8ea54003b29f5ed to your computer and use it in GitHub Desktop.

Select an option

Save vxav/2eedbfbb30b7c059c8ea54003b29f5ed to your computer and use it in GitHub Desktop.

Bare metal servers have different BMCs with different redfish feature sets.

Metal3 relies on Ironic to integrate with the BMC via Redfish.

We can check that a server is compliant with the Ironic feature set using Redfish-Interop-Validator.

  • Install the Redfish-Interop-Validator tool
pip install redfish_interop_validator
  • That tool checks servers agaist a profile. There already are a few profiles in the repo but we want to check the Ironic profile.
curl -o ironic-profile.json https://opendev.org/openstack/ironic/raw/commit/337871c82175b9f94796af724dcd977733a63d47/redfish-interop-profiles/OpenStackIronicProfile.v1_1_0.json
  • Run the command with the BMC properties
rf_interop_validator -i https://192.168.1.120 -u bmc-user -p bmc-password  ironic-profile.json

This will create an HTML file that is easier to read.

notTested: 9
pass: 229
passGet: 510
totaltests: 270
warn: 12
warningPresent: 5
Validation has failed: 22 problems found
(1, './logs/InteropHtmlLog_12_19_2024_115243.html', 'Validation done')
image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment