Skip to content

add information about SP-related updates to blueprint#7975

Merged
davepacheco merged 11 commits intomainfrom
dap/sp-blueprint
Apr 16, 2025
Merged

add information about SP-related updates to blueprint#7975
davepacheco merged 11 commits intomainfrom
dap/sp-blueprint

Conversation

@davepacheco
Copy link
Copy Markdown
Collaborator

@davepacheco davepacheco commented Apr 15, 2025

This is a first cut of adding information about SP-related updates to the blueprint.


(copied from #7741 and edited because this is basically an update of that PR)

The plan is that the blueprint will maintain a list of pending MGS-managed updates. An MGS-managed update is any update done by the SP and controlled via MGS, which means: RoT bootloader, RoT Hubris image, SP Hubris image, and host phase 1. There may be at most one of these pending for any baseboard at once, but there could be multiple baseboards getting an update at once. (A baseboard is a thing with an SP on it: Gimlet, Sidecar, or PSC.)

When the planner wants to update one of these things, it will add a PendingMgsUpdate to the (next) blueprint. When it notices that the inventory reflects that that change has been made, it removes it from the (next) blueprint.


See #7976 for the bigger picture (PRs ahead of and behind this one).

Depends on #7974.

@davepacheco davepacheco added this to the 15 milestone Apr 15, 2025
@davepacheco davepacheco requested a review from jgallagher April 15, 2025 03:18
Base automatically changed from dap/more-daft to main April 15, 2025 15:24
Copy link
Copy Markdown
Contributor

@jgallagher jgallagher left a comment

Choose a reason for hiding this comment

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

LGTM, mostly just questions about followup work

Comment thread nexus/db-queries/src/db/datastore/deployment.rs
Comment thread nexus/reconfigurator/planning/src/blueprint_builder/builder.rs
Comment thread nexus/types/src/deployment/blueprint_diff.rs Outdated
Comment thread nexus/types/src/deployment.rs Outdated
Comment thread nexus/types/src/deployment.rs Outdated
@davepacheco
Copy link
Copy Markdown
Collaborator Author

Thanks for the review! I'm tracking all the follow-up work in the Reconfigurator board but I'm happy to make sure real (non-draft) issues are filed and maybe note them in the comments.

@davepacheco davepacheco enabled auto-merge (squash) April 15, 2025 20:19
@davepacheco davepacheco merged commit 9690c22 into main Apr 16, 2025
17 checks passed
@davepacheco davepacheco deleted the dap/sp-blueprint branch April 16, 2025 04:26
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.

2 participants