Skip to content

Conversation

@andrewjstone
Copy link
Contributor

This ensures that when trust quorum is enabled the initial configuration gets passed up through the handoff to Nexus and put in CRDB.

It was tested in a4x2 with TRUST_QUORUM_INTEGRATION_ENABLED=true, a small fix for a4x2, and a fix in this PR to plumb through the correct sp-sim model number so that handoff works correctly in a4x2.

This PR should have no impact on main, as
TRUST_QUORUM_INTEGRATION_ENABLED remains set to false.

This ensures that when trust quorum is enabled the initial configuration
gets passed up through the handoff to Nexus and put in CRDB.

It was tested in a4x2 with `TRUST_QUORUM_INTEGRATION_ENABLED=true`, a
small [fix](oxidecomputer/testbed#236) for a4x2,
and a fix in this PR to plumb through the correct sp-sim model number so
that handoff works correctly in a4x2.

This PR should have no impact on main, as
`TRUST_QUORUM_INTEGRATION_ENABLED` remains set to `false`.
Copy link
Member

@emilyalbini emilyalbini left a comment

Choose a reason for hiding this comment

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

This is indeed mostly plumbing, I confirmed that the only non-plumbing thing seems correct (see review comment).


Some(InitialTrustQuorumConfig {
members: tq_members.into_iter().collect(),
coordinator: trust_quorum.baseboard_id().clone(),
Copy link
Member

Choose a reason for hiding this comment

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

Using the current node as the coordinator is correct, init_trust_quorum assumes the current node is the coordinator as well.

@andrewjstone
Copy link
Contributor Author

Thanks for the review @pietroalbini!

@andrewjstone andrewjstone merged commit c70f15f into main Jan 7, 2026
18 checks passed
@andrewjstone andrewjstone deleted the tq-nexus-api branch January 7, 2026 18:55
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