Skip to content

fix: enable network boot option for lenovos if disabled#55

Merged
krish-nvidia merged 1 commit intomainfrom
krish/lenovo-boot-order-fix
Mar 20, 2026
Merged

fix: enable network boot option for lenovos if disabled#55
krish-nvidia merged 1 commit intomainfrom
krish/lenovo-boot-order-fix

Conversation

@krish-nvidia
Copy link
Copy Markdown

On some Lenovo hosts, Network is not present in the standard redfish boot options, causing boot_first(Boot::Pxe) to fail with MissingBootOption. When this happens, the network boot options list is empty, which also prevents set_boot_order_dpu_first from finding the DPU.

This adds a fallback in machine_setup: if boot_first fails because Network is missing, we set Network first via the OEM Lenovo general boot order at BootOrder.BootOrder. If that OEM path returns 404 (newer firmware), we skip gracefully.

…etup

Signed-off-by: Krish Dandiwala <kdandiwala@nvidia.com>
@krish-nvidia krish-nvidia self-assigned this Mar 20, 2026
Copy link
Copy Markdown

@spydaNVIDIA spydaNVIDIA left a comment

Choose a reason for hiding this comment

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

lgtm

@krish-nvidia krish-nvidia merged commit add2409 into main Mar 20, 2026
2 checks passed
@krish-nvidia krish-nvidia deleted the krish/lenovo-boot-order-fix branch March 20, 2026 18:08
krish-nvidia added a commit to NVIDIA/ncx-infra-controller-core that referenced this pull request Mar 31, 2026
## Description
This PR bumps libredfish to `v0.43.5` which brings in the following
change:

- fix: enable network boot option for lenovos if disabled by
@krish-nvidia in NVIDIA/libredfish#55
## Type of Change

<!-- Check one that best describes this PR -->
- [ ] **Add** - New feature or capability
- [ ] **Change** - Changes in existing functionality  
- [x] **Fix** - Bug fixes
- [ ] **Remove** - Removed features or deprecated functionality
- [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.)

## Related Issues (Optional)
<!-- If applicable, provide GitHub Issue. -->

## Breaking Changes
- [ ] This PR contains breaking changes

<!-- If checked above, describe the breaking changes and migration steps
-->

## Testing
<!-- How was this tested? Check all that apply -->
- [ ] Unit tests added/updated
- [ ] Integration tests added/updated  
- [ ] Manual testing performed
- [x] No testing required (docs, internal refactor, etc.)

## Additional Notes
<!-- Any additional context, deployment notes, or reviewer guidance -->

Signed-off-by: Krish Dandiwala <kdandiwala@nvidia.com>
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