Bug 1928816
| Summary: | When using idrac-virtualmedia, the bios_interface gets set to idrac-wsman | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Bob Fournier <bfournie> |
| Component: | Bare Metal Hardware Provisioning | Assignee: | Bob Fournier <bfournie> |
| Bare Metal Hardware Provisioning sub component: | ironic | QA Contact: | Lubov <lshilin> |
| Status: | CLOSED ERRATA | Docs Contact: | Padraig O'Grady <pogrady> |
| Severity: | low | ||
| Priority: | low | CC: | pogrady |
| Version: | 4.8 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: For idrac-virtualmedia, the bios_interface field gets set to idrac-wsman by default.
Consequence: An exception occurs when attempting to get BIOS setting and no BIOS settings are available.
Fix: Use idrac-redfish for the default bios_interface when using idrac-virtualmedia.
Result: BIOS settings can be retrieved and no exception is seen in the logs.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:29:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Bob Fournier
2021-02-15 15:32:54 UTC
This is the snippet in the install-config.yaml:
role: worker
bmc:
address: idrac-virtualmedia://10.46.61.43/redfish/v1/Systems/System.Embedded.1
disableCertificateVerification: True
username: root
password: calvin
And this is the ironic code where the bios_interface gets set up:
https://github.com/openstack/ironic/blob/master/ironic/drivers/drac.py#L62
Mmmm, yeah, we need to specify bios_interface explicitly, since the WSMAN implementation has priority. Will need to add BIOSInterface in BMO for example: https://github.com/metal3-io/baremetal-operator/blob/75e27989f8c7e4e9e20bec2c5d582f7f85bc4536/pkg/provisioner/ironic/ironic.go#L419 and https://github.com/metal3-io/baremetal-operator/blob/75e27989f8c7e4e9e20bec2c5d582f7f85bc4536/pkg/bmc/idrac_virtualmedia.go#L92 and set it to "redfish" for idrac_virtualmedia.go We'll have to add this interface for the BIOSConfig work to get BIOS settings in BMO. Moving to 4.9. verified on 4.9.0-0.nightly-2021-08-25-010624 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 |