Skip to content

docs: Propose boot delivery methods behind one install contract - #227

Merged
scotwells merged 12 commits into
mainfrom
docs/boot-delivery-methods
Nov 28, 2026
Merged

scotwells merged 12 commits into
mainfrom
docs/boot-delivery-methods

Conversation

@scotwells

@scotwells scotwells commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fleet can deliver an install image only by network boot, so a site without a provisioning network, relays, and a WAN path to central DHCP cannot install any server.

This proposes two boot delivery methods, network boot and Redfish virtual media, declared per site and optionally required by a machine class, with no change to the Metal API.

Both methods meet one contract that leaves custody, power, images, and sealed bootstrap data unchanged, and each must prove what the server booted and that its delivery path closed. The product owner's decisions are recorded in the doc, and none are open.

Test plan

  • Every GitHub check passes on the final head, including the doc link check

Related to #87
Related to #186
Related to #184
Related to #185

🤖 Generated with Claude Code

@scotwells
scotwells requested review from ecv and kevwilliams November 26, 2026 19:45
scotwells added a commit that referenced this pull request Nov 26, 2026
Success still never depends on the installed OS, except under virtual
media delivery proposed in #227. There, success also depends on one
first-boot report from the provider-built image's first-boot step,
which runs before the customer's bootstrap data and is accepted once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 27, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 27, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 27, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 27, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 28, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 28, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 28, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@scotwells
scotwells marked this pull request as ready for review November 28, 2026 01:58
@scotwells
scotwells requested a review from a team as a code owner November 28, 2026 01:58
scotwells added a commit that referenced this pull request Nov 28, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@kevwilliams kevwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hold: in fallback mode, the central first-boot service reads sealed payloads that #184 never grants it.

  • #184 gives SealedPayload read access only to the coordinator and the site boot service while the boot is open. List this new reader among the changes to #184, and say how its access is scoped.
  • #184 puts the boot service at the site with a site-issued certificate. This PR runs it centrally beside DHCP. Pick one in both docs.
  • Stale text: "#184 does not yet trust first-boot", but #184 now does. The PR body also still lists three open decisions that the doc records as decided.

@scotwells

Copy link
Copy Markdown
Contributor Author

@kevwilliams thanks, all three points from your hold are addressed at 358d7e4, with #184 updated to match at 449e143.

kevwilliams
kevwilliams previously approved these changes Nov 28, 2026

@kevwilliams kevwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The first-boot service reader is now granted and scoped in #184, both docs place the boot service centrally per site, and the stale text is gone.

scotwells and others added 10 commits November 27, 2026 20:36
Define network boot and Redfish virtual media as boot delivery methods
that a site declares and a machine class can constrain. Both meet one
contract: exact inputs before effects, prepare under the custody fence,
verify the booted input by an operation token, prove the delivery path
closed, and treat any unproven step as unknown.

Cover commissioning checks of BMC virtual media capability, addressing
from IPAM under virtual media, media isolation, failure modes, and open
questions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A settling operation reuses the held operation's method, and admission
skips the site, class, and qualification checks for it. The custody
settlement table is restated accurately.

The media service opens windows only under the Device's stored fence,
closes them at the fence rise or deadline, and is read back as a second
release source. URL capabilities and report tokens are distinct, and
records keep only digests.

Virtual media installs run with no network and report over the serial
console, so the #186 interface ordering is unchanged. A method qualifies
only after the server boots with it. Network boot requires synchronized
DHCP, and secret-bearing media require a verified HTTPS fetch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A recovery hold records each method the held operation prepared, and a
settling operation proves release for every one. A commissioning lists
every method the site offers, so a settling commissioning must list the
held methods. Burn-in may boot with any qualified method.

An uncertain window open now ends unknown, first-boot addressing waits
for NSO programming, and the acceptance tests cover the new release and
settlement rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record the six product decisions and move them out of open questions:

- BMCs that do not verify the media certificate get no bootstrap data
  and install in a fallback mode, where the installed OS fetches the
  sealed payload with a single-use token bound to its IPAM address.
- The media service runs centrally, and BMC and data network routes to
  it are site prerequisites.
- The installed OS posts a first-boot report over HTTPS. Console output
  is diagnostics only.
- Installers may download only artifacts pinned by digest.
- Virtual media installs have a 45-minute phased deadline.
- Sites whose DHCP is configured outside Fleet use virtual media.

Reports from wipes and burn-ins under virtual media stay open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
State that the first-boot report trusts the provider image's first-boot
step, which the images proposal must allow, and that it is accepted only
once. Say how the fallback mode computes the bootstrap digest, when the
media window closes, and that network boot reports download digests and
burn-in results over the provisioning network.

Widen the open question to wipes, burn-ins, and probes under virtual
media, which gate qualification, and note the route prerequisites for a
new site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record the decision for wipes, burn-ins, and commissioning probes under
virtual media. Each claims a provider address from IPAM and an NSO
attachment to a provider network for one operation, and release proves
the port detached and the claim released. A virtual media site needs
that provider network.

Add acceptance tests for a virtual media wipe, a detach that cannot be
proven, a second first-boot report, the fallback digest check, and an
installer still reading at window close.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Order release so the requester deletes the attachment claim after the
report is accepted, and deletes the address claim only once the port is
proven detached. Delete claims on failure, for never-created operations,
after a settling operation is admitted, on Retry, and on retirement, so
a held operation's claims cannot block its settlement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Delete a held address claim only after the settling operation proves
the port detached, keep the port attached while any claim remains, and
refuse reports from a superseded fence. Fix the operation name before
any claim, clean up orphaned claims after five minutes, and have
admission refuse an operation whose claims are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A requester creates an operation only within five minutes of its first
claim and sweeps orphaned claims when it starts and periodically, so a
crashed requester cleans up after restart without racing a creation.
The settling operation's requester deletes the held attachment claim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record the decisions from the first prototype:

- workers authenticate to the media service with client certificates;
- the coordinator reads each site's methods from its enrollment;
- a refused window open fails only before anything reaches the BMC;
- the report carries the boot medium digest the image digest pins;
- a hold on a method the site stopped offering waits, with a reason;
- the media service sweeps expired config media in the background; and
- the BMC address restriction is verified on a real site network
  before production.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
List the first-boot service as a scoped reader of sealed payloads among
the changes to #184, state that both proposals run the boot service
centrally with per-site certificates, and drop the stale text saying
#184 does not yet allow the first-boot report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The merged images proposal allows the first-boot report and the
first-boot service as a payload reader. The boot medium requirement and
the fallback delivery remain this proposal's additions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 28, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@kevwilliams kevwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since my approval it only rebased onto merged #184 and split its change list into what #184 already allows and what this adds.

@scotwells
scotwells merged commit aec5728 into main Nov 28, 2026
6 checks passed
@scotwells
scotwells deleted the docs/boot-delivery-methods branch November 28, 2026 02:55
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells added a commit that referenced this pull request Nov 29, 2026
Each site now reports its boot delivery declaration, and the coordinator
and the Metal provider read it there instead of from the coordinator's
own site configuration, per #227.

- The cell observer publishes the declaration on every report handoff;
  the hub returns it only from a fresh report of this cell.
- The simulator's site API serves its declaration (network boot).
- Admission leaves an operation Pending while a serving site has not
  reported a current, valid declaration, and the allocator creates no
  installation until it has.
- A declaration is a JSON list of offers, parsed strictly: each method
  once, network boot with no media settings, virtual media with
  DataNetwork addresses and an https media service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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