Skip to content

[server] restore SMBIOS type 1 input on instance ensure - #1200

Open
zeeshanlakhani wants to merge 1 commit into
masterfrom
spec-smbios-type1-fix
Open

[server] restore SMBIOS type 1 input on instance ensure#1200
zeeshanlakhani wants to merge 1 commit into
masterfrom
spec-smbios-type1-fix

Conversation

@zeeshanlakhani

Copy link
Copy Markdown
Contributor

The instance spec versioning rework in #1178 moved the API-to-internal conversion into per-version SpecBuilder paths, but dropped the assignment of the API spec's smbios field to the internal spec's smbios_type1_input.

As a result, ensure requests with an explicit SMBIOS Type 1 input silently receive Propolis's default Type 1 values (Oxide/OxVM) instead. This breaks consumers of programmable SMBIOS (#977), like voxel and a4x2, where the SMBIOS manufacturer selects a4x2 hardware and the product and serial values identify the sled's configured BaseboardId during bootstrap.

This change preserves smbios in latest_to_spec_builder, the common funnel for the versioned instance-spec conversion paths, and adds a regression test.

The instance spec versioning rework in #1178 moved the API-to-internal
conversion into per-version `SpecBuilder` paths, but dropped the
assignment of the API spec's `smbios` field to the internal spec's
`smbios_type1_input`.

As a result, ensure requests with an explicit SMBIOS Type 1 input
silently receive Propolis's default Type 1 values (`Oxide`/`OxVM`)
instead. This breaks consumers of programmable SMBIOS (#977), like
voxel and a4x2, where the SMBIOS manufacturer selects a4x2 hardware
and the product and serial values identify the sled's configured
`BaseboardId` during bootstrap.

This change preserves `smbios` in `latest_to_spec_builder`, the common
funnel for the versioned instance-spec conversion paths, and adds a
regression test.
@zeeshanlakhani
zeeshanlakhani requested a review from iximeow August 22, 2026 05:46
@zeeshanlakhani zeeshanlakhani added the bug Something that isn't working. label Aug 22, 2026
@sion42x

sion42x commented Aug 26, 2026

Copy link
Copy Markdown

This looks great and I've verified it works right with voxel. Do we plan on updating the falcon pin from February? I've got some other propolis work I'll be making a PR for soon that would depend on this.

@zeeshanlakhani

Copy link
Copy Markdown
Contributor Author

This looks great and I've verified it works right with voxel. Do we plan on updating the falcon pin from February? I've got some other propolis work I'll be making a PR for soon that would depend on this.

we should, though not sure what the proper ordering of deps updates should be.

@sion42x sion42x left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Confirmed this fixes the regression and will allow falcon to use a current propolis again. Recommend adding this to #1201 and #1204 for softnpu performance as well.

@zeeshanlakhani

Copy link
Copy Markdown
Contributor Author

@iximeow thoughts on this btw?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something that isn't working.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants