Skip to content
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

Fix media mounting eject implementation: #406

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

jacobweinstock
Copy link
Member

What does this PR implement/change/remove?

Some redfish implementations will fail to eject media if no media is mounted. The redfish server behavior is to report that the virtual media doesn't support media ejection. So we need to check for this.

Checklist

  • Tests added
  • Similar commits squashed

The HW vendor this change applies to (if applicable)

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)

Description for changelog/release notes

Some redfish implementations will fail
to eject media if no media is mounted.
The redfish server behavior is to report
that the virtual media doesn't support
media ejection. So we need to check for
this.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock changed the title Fix media mounting: Fix media mounting eject implementation: Nov 24, 2024
@mergify mergify bot merged commit eb78b9e into bmc-toolbox:main Nov 24, 2024
5 checks passed
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.

2 participants