Skip to content

tools: fix netlaunch iDRAC10 media, boot and ISO listener lifetime - #909

Draft
Paco Huelsz (frhuelsz) wants to merge 5 commits into
mainfrom
user/frhuelsz/netlaunch-idrac10-media
Draft

Paco Huelsz (frhuelsz) wants to merge 5 commits into
mainfrom
user/frhuelsz/netlaunch-idrac10-media

Conversation

@frhuelsz

@frhuelsz Paco Huelsz (frhuelsz) commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Update the native BMC dependencies for two newer Redfish layouts:

  • Discover VirtualMedia under ComputerSystem when it is absent under Manager.
  • When boot properties are read-only on the System resource, retry SetBoot against the advertised @Redfish.Settings URI with ETag concurrency control.

The newer gofish API moves redfish types to schemas; netlaunch needs its CD media import/constant updated.

Also honor explicit --port listener mode for plain ISOs: do not cancel the HTTP/serial session after the first ISO fetch. Default one-shot behavior without an explicit port is unchanged. No custom BMC requests or runtime wrappers.

Upstream fixes:
bmc-toolbox/bmclib@105a462
stmcginnis/gofish@41fc97f

Validation: native packages and netlaunch build passed. Temporary mock Redfish checks covered both media locations and both boot-setting endpoints. The actual netlaunch executable completed a fake-BMC deployment and kept serving after HEAD and repeated range requests. The previous binary reproduced first-fetch context cancellation. Tests are not included in this PR. No live boot-setting changes or power-on were performed.

Use upstream bmclib discovery fallback for BMCs exposing VirtualMedia under ComputerSystem. Keep manager-scoped discovery and cover both paths with mock Redfish insertion tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Advance bmclib for the gofish schemas API and select the upstream SetBoot fallback to the advertised settings resource. Update netlaunch to use the renamed virtual-media constant.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@frhuelsz Paco Huelsz (frhuelsz) changed the title tools: update bmclib for system-scoped virtual media tools: update Redfish libraries for iDRAC10 media and boot Oct 28, 2026
Honor netlaunch listener mode instead of canceling on the first ISO fetch. This preserves virtual-media HTTP requests and serial capture after deployment.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@frhuelsz Paco Huelsz (frhuelsz) changed the title tools: update Redfish libraries for iDRAC10 media and boot tools: fix netlaunch iDRAC10 media, boot and ISO listener lifetime Oct 28, 2026

This branch has not been deployed

No deployments
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.

1 participant