Skip to content

Configure Dell BIOS task IDs in machine setup#54

Merged
kdhulipala-wq merged 8 commits intoNVIDIA:mainfrom
kdhulipala-wq:prints
Apr 13, 2026
Merged

Configure Dell BIOS task IDs in machine setup#54
kdhulipala-wq merged 8 commits intoNVIDIA:mainfrom
kdhulipala-wq:prints

Conversation

@kdhulipala-wq
Copy link
Copy Markdown

@kdhulipala-wq kdhulipala-wq commented Mar 19, 2026

Note: I didn't know I had to add signatures to my commits, and I think this will prevent me from merging this PR once it is approved. After approval I will duplicate the PR with a single signed commit to fix this

Changes to ensure Dell BIOS configuration jobs complete before configuring boot order. On Dell iDRACs, PATCHing BIOS attributes returns an asynchronous job ID. Previously, we didn't track these jobIDs, which have the potential to lead to boot order configuration racings ahead of pending BIOS changes. Below is a short summary of my changes:

  • Track Dell job ID from machine_setup and wait for completion before configuring boot order
  • HandleBiosJobFailure recovery (power cycle + BMC reset) with up to 3 retries, mirroring boot order pattern
  • Non-Dell vendors: (no job ID → reboot and proceed as before).
  • UnlockHost state disables BMC lockdown before BIOS PATCH in the Assigned path.
  • test_bios_config_job_happy_path unit test.

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Mar 19, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Comment thread src/dell.rs
Comment thread src/hpe.rs Outdated
Comment thread src/nvidia_dpu.rs Outdated
@kdhulipala-wq kdhulipala-wq marked this pull request as ready for review April 3, 2026 17:51
krish-nvidia
krish-nvidia previously approved these changes Apr 6, 2026
Copy link
Copy Markdown

@krish-nvidia krish-nvidia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good after you fix the merge conflicts, remove the debug log lines, and sign your commits.

nvssh nssswitch user account and others added 7 commits April 13, 2026 21:44
Signed-off-by: Krishna Dhulipala <kdhulipala@nvidia.com>
Signed-off-by: Krishna Dhulipala <kdhulipala@nvidia.com>
Signed-off-by: Krishna Dhulipala <kdhulipala@nvidia.com>
Signed-off-by: Krishna Dhulipala <kdhulipala@nvidia.com>
Signed-off-by: Krishna Dhulipala <kdhulipala@nvidia.com>
Signed-off-by: Krishna Dhulipala <kdhulipala@nvidia.com>
…VIDIA#47)

machine_setup() gains an oem_manager_profiles parameter (same structure
as bios_profiles) allowing callers to supply vendor/model/profile-keyed
manager attribute maps without hardcoding them in library code.

For Dell, these attributes are merged into the existing
machine_setup_oem PATCH payload alongside the fixed iDRAC settings
(HostHeaderCheck, IPMILan, OS-BMC). All other vendors accept the
parameter as a no-op.

The previously added disable_psu_hot_spare() trait method is removed;
PSU Hot Spare configuration is now expressed as an oem_manager_profiles
entry.

Signed-off-by: Martin Raumann <mraumann@nvidia.com>
Signed-off-by: Krishna Dhulipala <kdhulipala@nvidia.com>
@kdhulipala-wq kdhulipala-wq merged commit 818014f into NVIDIA:main Apr 13, 2026
1 check passed
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.

3 participants