Skip to content

[DNM] [cluster-bot] Fix virtual media boot on Quanta QuantaEdge EGN77C-2U - #163

Open
jacob-anders wants to merge 1 commit into
openshift:release-4.22from
jacob-anders:egn77c-2u-bootorder-fix-4.22
Open

[DNM] [cluster-bot] Fix virtual media boot on Quanta QuantaEdge EGN77C-2U#163
jacob-anders wants to merge 1 commit into
openshift:release-4.22from
jacob-anders:egn77c-2u-bootorder-fix-4.22

Conversation

@jacob-anders

Copy link
Copy Markdown

These BMCs present virtual media to the host as a USB removable device (the slots are named USB1/USB2 and report "Virtual Removable Media"), and the host fails to boot when Cd is requested as the boot source override target, even though the media is correctly inserted. UsbCd is not offered by these machines, so Usb is now sent instead.

Redfish provides no way to discover this. MediaTypes describes the BMC-side emulated device while BootSourceOverrideTarget describes the host-side enumeration, and nothing in the data model links the two, so this remains a vendor quirk.

The existing SuperMicro Cd to UsbCd substitution and this one are now driven by a BOOT_SOURCE_TARGET_QUIRKS table matched on manufacturer and optionally model. The model match matters here: QuantaGrid models share a manufacturer string with the EGN77C-2U, expose a conventional virtual optical device, and must not be rewritten. Substitutions continue to be applied only when the replacement target is advertised in BootSourceOverrideTarget@Redfish.AllowableValues.

The SuperMicro manufacturer check is relaxed from an exact match to a case-insensitive substring match, and substitutions are now logged at INFO rather than DEBUG.

Assisted-By: Claude Opus 5 (1M context)
(cherry picked from commit eed027e)

These BMCs present virtual media to the host as a USB removable device
(the slots are named USB1/USB2 and report "Virtual Removable Media"),
and the host fails to boot when Cd is requested as the boot source
override target, even though the media is correctly inserted. UsbCd is
not offered by these machines, so Usb is now sent instead.

Redfish provides no way to discover this. MediaTypes describes the
BMC-side emulated device while BootSourceOverrideTarget describes the
host-side enumeration, and nothing in the data model links the two, so
this remains a vendor quirk.

The existing SuperMicro Cd to UsbCd substitution and this one are now
driven by a BOOT_SOURCE_TARGET_QUIRKS table matched on manufacturer and
optionally model. The model match matters here: QuantaGrid models share
a manufacturer string with the EGN77C-2U, expose a conventional virtual
optical device, and must not be rewritten. Substitutions continue to be
applied only when the replacement target is advertised in
BootSourceOverrideTarget@Redfish.AllowableValues.

The SuperMicro manufacturer check is relaxed from an exact match to a
case-insensitive substring match, and substitutions are now logged at
INFO rather than DEBUG.

Signed-off-by: Jacob Anders <jacob-anders-dev@proton.me>
Assisted-By: Claude Opus 5 (1M context)
(cherry picked from commit eed027e)
@jacob-anders

Copy link
Copy Markdown
Author

/hold

@openshift-ci
openshift-ci Bot requested review from dtantsur and iurygregory August 7, 2026 12:58
@openshift-ci openshift-ci Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 7, 2026
@jacob-anders

Copy link
Copy Markdown
Author

/approve cancel

@openshift-ci

openshift-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

[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

@openshift-ci openshift-ci Bot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 7, 2026
@openshift-ci

openshift-ci Bot commented Aug 7, 2026

Copy link
Copy Markdown

@jacob-anders: all tests passed!

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.

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

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant