Commit 3e03d27
authored
fix: GBx00 misclassified as DPU during PXE boot (#2932)
**Problem**
On ARM hosts without a minted machine ID yet, the PXE boot path
classified a machine as a DPU if its explored endpoint had *any*
BlueField part number in its chassis inventory
(`has_bluefield_part_number()`). The GBx00 host BMC reports its
BlueField-3 as a chassis object, so the host was misclassified as a DPU
and served the DPU OS (`carbide.efi` / `carbide.root`) instead of the
host image (`scout.efi`).
**Fix**
In `crates/api-core/src/ipxe.rs`, we now treat an endpoint as a DPU only
when the explored endpoint is itself a DPU BMC
(`endpoint.report.is_dpu()`, i.e. `Systems[0].Id == "Bluefield"`) rather
than merely containing a BlueField part number.
## Related issues
#2930
## 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.)
## Breaking Changes
<!-- If checked, describe the breaking changes and migration steps -->
<!-- Breaking changes are not generally permitted, please discuss on a
GitHub discussion or with the development team if you believe you need
to break a backward compatibility guarantee -->
- [ ] **This PR contains breaking changes**
## Testing
<!-- How was this tested? Check all that apply -->
- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing performed
- [ ] 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>1 parent ea93c52 commit 3e03d27
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
357 | | - | |
| 356 | + | |
358 | 357 | | |
359 | 358 | | |
360 | 359 | | |
| |||
370 | 369 | | |
371 | 370 | | |
372 | 371 | | |
373 | | - | |
| 372 | + | |
374 | 373 | | |
375 | 374 | | |
376 | 375 | | |
| |||
0 commit comments