Bootleby config for TUF-based updates, install dataset shared as M2 disk - #40
Open
sion42x wants to merge 7 commits into
Open
Bootleby config for TUF-based updates, install dataset shared as M2 disk#40sion42x wants to merge 7 commits into
sion42x wants to merge 7 commits into
Conversation
A scrimlet sled-agent restart recreates oxz_switch and drops the launch-staged sp-emu fleet (baked sp-sim returns with the zone; the staged emu fleet does not). The switch enforcer now stays resident and, when it sees the zone back without the fleet, re-stages it, re-asserts the MGS slot, and recovers the softnpu fabric.
sled-agent reads the install-dataset manifest once at startup and never reloads, so the reconfigurator noop conversion previously required seeding the datasets and restarting sled-agent, which on a scrimlet recreates oxz_switch and cascades. Instead, in the window after virtual-hardware create but before omicron-package activate starts sled-agent, create a pool on each M.2 vdev, populate install/ with the control-plane zone tarballs and an embedded measurement corpus, and export it. Adoption imports (never recreates) the pool and the first read reports a non-empty manifest, so the noop conversion works with no restart. Voxel TUF repos must carry the same corpus.
voxel image create --from-tuf <repo.zip> sources everything from the repo: zones and measurement corpus byte-exact (hash-matched to the release), global-zone software lifted from the host phase 2 payload, switch zone recomposed for softnpu, voxel-init resolved as the exe-sibling binary. --sled-agent stages a switch-softnpu sled-agent package over the phase 2 one, which hardwires scrimlet = Tofino ASIC. voxel-init brings these images up without omicron-package: native vdev creation, SMF-import activation, corpus preferred from the image.
No-compile rack images from a released TUF repo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the sp-emu connection more... connected. These changes make it possible for an sp-emu (SP + RoT) wicket-driven lab to write firmware updates to the SP/RoT and complete all update steps outside of host update.