Skip to content

Conversation

@jgallagher
Copy link
Contributor

The changes in this PR are mostly mechanical; the actual implementation will come in a followup PR. Changes include:

  • The UpdatePrepare message has been renamed ComponentUpdatePrepare, and there is a new SpUpdatePrepare that includes auxflash-specific information (the chck value and the size)
  • UpdateStatus has two new cases:
    • Failed (previously we'd return a ResponseError, but that felt wrong - we can successfully respond that an update has failed)
    • SpUpdateAuxFlashChckScan - this is only valid for SP updates, and is the state we have to see before starting to send data. It returns whether or not the SP already has the auxflash we want to send it. (If the update has no auxflash at all, this state is skipped.)

The bulk of the PR is just dealing with the fallout of these - adding new arms to matches, etc.

Copy link
Contributor

@andrewjstone andrewjstone left a comment

Choose a reason for hiding this comment

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

LGTM!

@jgallagher jgallagher merged commit c24297f into main Oct 4, 2022
@jgallagher jgallagher deleted the sp-update-auxflash-messages branch October 4, 2022 13:33
leftwo pushed a commit that referenced this pull request Sep 23, 2025
Crucible changes are:
update to latest `vergen` (#1770)
Update rand dependencies, and fallout from that. (#1764)
[crucible-downstairs] migrate to API traits (#1768)
[crucible-agent] migrate to API trait (#1766)
[crucible-pantry] migrate to API trait (#1767)
Add back job delays in the downstairs with the --lossy flag (#1761)

Propolis changes are:
Crucible update plus a few other dependency changes. (#948)
[2/n] [propolis-server] switch to API trait (#946)
[1/n] add a temporary indent to propolis server APIs (#945)
Handle Intel CPUID leaves 4 and 18h, specialize CPUID for VM shape (#941)
Increase viona receive queue length to 2048 (#935)
Expand viona header pad to account for options (#937)
fix linux p9fs multi message reads (#932)
add a D script to report VMs' CPUID queries (#934)
Update GH actions
Re-enable viona packet data loaning
leftwo added a commit that referenced this pull request Sep 26, 2025
Crucible changes are:
update to latest `vergen` (#1770)
Update rand dependencies, and fallout from that. (#1764)
[crucible-downstairs] migrate to API traits (#1768) [crucible-agent]
migrate to API trait (#1766)
[crucible-pantry] migrate to API trait (#1767)
Add back job delays in the downstairs with the --lossy flag (#1761)

Propolis changes are:
Crucible update plus a few other dependency changes. (#948) [2/n]
[propolis-server] switch to API trait (#946) [1/n] add a temporary
indent to propolis server APIs (#945) Handle Intel CPUID leaves 4 and
18h, specialize CPUID for VM shape (#941) Increase viona receive queue
length to 2048 (#935) Expand viona header pad to account for options
(#937) fix linux p9fs multi message reads (#932)
add a D script to report VMs' CPUID queries (#934) Update GH actions
Re-enable viona packet data loaning

---------

Co-authored-by: Alan Hanson <[email protected]>
Co-authored-by: Sean Klein <[email protected]>
Co-authored-by: Rain <[email protected]>
Co-authored-by: John Gallagher <[email protected]>
Co-authored-by: iliana etaoin <[email protected]>
Co-authored-by: Sean Klein <[email protected]>
Co-authored-by: Alex Plotnick <[email protected]>
Co-authored-by: David Pacheco <[email protected]>
Co-authored-by: Andrew J. Stone <[email protected]>
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