All notable changes to this project are documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
The headline is soak/cooldown pacing for the autopilot (#80): canaries still
follow every release, and the rest of the fleet moves in waves, one per
cooldown, onto releases that soaked healthy on a canary. The release also
hardens the supply chain and the runtime after a review pass (#86): the image
runs as nonroot with file capabilities, unverifiable downloads fail closed,
hardware.json writes are batched, and the Web UI polls only while visible.
Rounding it out are dependency bumps across the Go modules and the Web UI
(#83, #87). Upgrading from v1.0.0 needs a chown of the data directory --
see docs/releases/v1.1.0.md.
- The container image runs as nonroot (uid 65532) with
cap_net_bind_serviceandcap_net_rawas file capabilities on the binary instead of running as root (USER 65532:65532, with a 65532-owned/data). The/datavolume must now be writable by uid 65532 (chown -R 65532:65532, or on KubernetesfsGroup: 65532withfsGroupChangePolicy: OnRootMismatchplusrunAsUser: 65532andrunAsNonRoot: true; the example inexamples/k8s.yamldoes all of these), and the bounding set must still includeNET_BIND_SERVICEandNET_RAW-- the--cap-addflags in the examples do exactly that. Note thatallowPrivilegeEscalation: falsedoes not fail at exec: withno_new_privsthe file capabilities are silently not granted, so the binary starts but, as non-root, cannot bind :67/:69/:80 or open raw sockets -- leave it unset (or true) so the caps apply. The autopilot's reboot/power Pods (booty node-reboot) now run as root (runAsUser: 0) because the main image is nonroot; they were already privileged and hostPID.make image-runmaps the container to the invoking user (--user $(id -u):$(id -g)) so the bind-mounted./datais writable. - Fail-closed verification. The Flatcar, CoreOS, Secure Boot bundle and
Flatcar CA syncs now refuse to install when the checksums or digests they
verify against cannot be fetched (after three tries) -- they previously
fell back to an unverified download. Unpinned Fedora RPMs (a
non-default
--fedoraShimVersion/--fedoraGrubVersion) are verified against the mirror's own repository metadata (repomd.xmlto the primary metadata, sha256 only, xz-compressed metadata refused); when the metadata cannot verify them the install is refused unless--allowUnverifiedFedoraRPMsis set.
-
New endpoint-override flags (each also
BOOTY_<FLAG>):--githubAPIURL,--githubDownloadURL,--fedoraMirrorURL,--fedoraReleases(default derived from the.fcNNof--fedoraGrubVersionasNN+1andNN),--coreOSStreamsURLand--allowUnverifiedFedoraRPMs(default false). Startup validates the endpoint settings and exits on malformed values (a wrong%scount in the Flatcar/CoreOS download templates (3) or--coreOSStreamsURL(1), a non-http(s)URL, a non-numeric--fedoraReleases).--tftpBlockSizeis validated to the legal 512..65464 range;0is accepted and means "library default (512)". -
Resumable, retried downloads. Release downloads retry three times with exponential backoff and resume partial files over HTTP Range; temporary files are named
<name>.*.tmpand swept at startup. GitHub release fetches use ETag/If-None-Match, and a304does not count against the rate limit. Bluefin sysext zstd decompression is capped at 16 GiB. -
Wider prune retention. Pruning now also keeps releases named by a configured pin (
--flatcarVersion/--bluefinVersion), the autopilot's fleet hold, each host'snetbootVersion(the release a Bluefin host last netbooted) and any release demoted fromcurrentless than an hour ago (kept in memory; a restart shortens the window), so hosts mid-boot into a replaced release can always finish. -
/infogains an optionalsyncErrorsfield ({error, at}per OS and scheduler) and the Home page shows them as a warning, so a stuck upstream is visible without reading the log. -
Batched
hardware.jsonwrites. Only routine bookkeeping (boot, health and power updates) is batched, flushing at most every 2 s and on shutdown. Register/unregister and every one-shot transition made throughUpdate(doInstall,mode,installServedAt,targetVersion, the autopilot pin) is written synchronously, together with any pending batched change. A hand edit tohardware.jsonwhile Booty runs wins: the unflushed batched changes are dropped with a warning and the file is reloaded. -
Soak and cooldown: paced autopilot rollouts. Two new flags pace how the fleet adopts releases:
--autopilotSoak(how long a release must have been healthy on acanary: truehost before the other hosts of its OS may move to it) and--autopilotCooldown(the minimum time between the starts of two rollout waves of the same OS). Canaries are exempt from both clocks and keep following every release; the rest of the fleet moves in waves, one per cooldown, onto the newest soaked release -- skip-ahead, so several releases inside one cooldown cost one reboot per host, and the releases the fleet passed over are markedskipped. Waves are serial under--autopilot=full/Bluefin and pins + kured elsewhere; a release going bad mid-wave aborts it. Both flags default to0, preserving 1.0.0 behaviour exactly; the homelab setting is24h/48h, one reboot per host per 48 h with two upstream releases a day. Without a canary registered for an OS the soak has no effect on it (warned once per release) and the cooldown still applies. -
GET /autopilotand the Autopilot page gain the two clocks (soak,cooldown), per-OSwave:{release,startedAt,endedAt,outcome},nextWaveAtandcanaries, per-releasefirstHealthyAtandsoaked, and theskippedrelease state; the UI shows the clocks in the header, a Wave line per OS card, soaking/soaked badges on release rows, and foldsskippedin with the good history.
- ARP fallback is bounded. The ARP lookup for requests without
?mac=times out after 500 ms and an IP whose lookup failed is not retried for 30 s. - Template and key-file caching. Butane templates and SSH authorized-keys files are cached; an on-disk edit is picked up on the next request (keyed by size and mtime).
- Web UI robustness. Polling pauses while the tab is hidden and backs off on errors (up to 5 min); API responses are validated; the Bootstrap CSS subset is ~31% smaller; focus moves to the main content on navigation.
- Builds require Go >= 1.26.10 (the
godirective ingo.mod; the floor fixes 17 standard-library CVEs). The Web UI's Node version is single-sourced inweb/.nvmrc(Node 26). The Makefile gainedtest-go,test-web,lint-go,lint-webandfmt-check; Go tests run with-timeout=5m. Base images are pinned by digest.
No code changes since 1.0.0-rc.1 apart from the CI tagging fix (#77: latest
follows only non-prerelease tags). The release candidate ran the homelab for
24 hours and rolled four unattended upstream Bluefin Server releases
(26.10.974, .1001, .1004, .1012) canary-serial through four nodes: 15 health
gates, 15 healthy, no rollbacks, no holds left behind.
The first release since v0.3. Booty is no longer just a PXE server that hands out Flatcar and CoreOS: it now boots diskless and installed Bluefin Server nodes over UEFI HTTP Boot with Secure Boot, bootstraps the cluster itself (kubeadm or k0s, managed or external), rolls releases across the fleet with a health-gated autopilot, and exposes power control over WoL/SSH/Kubernetes API from the same UI. Proven on a five-node homelab of Bluefin Server and Flatcar hosts.
This is a release candidate. See docs/releases/v1.0.0.md for upgrade notes and known limitations.
- OCI / ostree image cache removed. The embedded registry that mirrored
each host's
ostreeImageintodata/registry/is gone, together with the/registryand/v2/endpoints and the UI's Cache page. Hosts rebase straight from their own registry, exactly what{{ .OSTreeImage }}renders.--ociGCand--ociGCEmptyare accepted as deprecated no-ops so an old command line still starts, and go away in the next release. On start-up an emptydata/registry/is removed silently; one that still holds blobs is left in place with a warning. (#73) - Data directory layout migrates to
data/<os>/<version>/. Flatcar, CoreOS and Bluefin now keep each release underdata/<os>/<version>/behind relativecurrent,previousandlastGoodsymlinks. Booty migrates older layouts automatically on start-up; the pre-migration top-level names (data/flatcar_production_pxe.vmlinuz,data/fedora-coreos-<version>-live-*) stay as symlinks into<os>/current, so anything that still references them keeps working. (#40) - Bluefin nodes get a
coreuser;rootis locked by the image. Upstream Bluefin Server 26.10 (projectbluefin/server#275) ships root locked and runs sshd without PAM, so the previous "put keys on root" behaviour is unusable. Booty now provisionscorewith your--sshAuthorizedKeys, passwordless sudo andsshd.serviceenabled. SSH ascore, notroot. (#70) /update-checkon Bluefin answersrebootRequiredfrom the target rule. The rule is the same for every OS now:rebootRequiredwhen the host's effective target (itstargetVersionwhen set, else the fleet target) differs from what it reports running. A diskless Bluefin host behind its target is told to reboot and re-image. (#40)--builtindefault gainshealthandwol. The default value is nowhostname,update,booted,sshkeys,health,wol. Hosts pick up two new systemd units on next boot:booty-health.servicePOSTs a health report to/healthaftermulti-user.target, and10-booty-wol.linkarms Wake-on-LAN on the host's NIC. Pass--builtin=hostname,update,booted,sshkeys(ornone) to opt out. (#40, #67)GET /clusteraddssource/connected/nodes/apiServer, andreadymeans "connected" in external mode. In the default--controlPlane=externalthere is no bootstrap to wait for, soreadyreports whether Booty can talk to the API server;readyAtis omitted. In managed mode the meaning is unchanged (kubeadm initfinished,/readyzanswers). (#64)- Actuator order is kured, then SSH, then the Kubernetes API. Reboots go
through kured when its DaemonSet is present, else
--rebootSSHKey, else a privileged reboot Pod from Booty's own image as the last resort. An explicit SSH key now wins over the API actuator, which matches the operator intent of handing Booty a key. Operator Power buttons never go through kured. (#65, #67) --coreOSChannel=noneand--flatcarChannel=noneare now real opt-outs. Setting a channel tononestops version checks and downloads for that OS, answers/update-checkand/infoas if no release were cached, refuses new registrations of it with400, and serves an already registered host a refusal menu. The directory is left on disk and listed by/storageastracked:falseuntil you delete it by hand. (#73)GET /autopilotis bounded by default. The answer now carries the newest 10goodrecords whose files were pruned (plus every live record) and the newest 100 of the 200-event ring;releaseCountandeventCountsay what was left out. Use?releases=alland?events=allfor the whole history. (#75)
- Cluster bootstrap from PXE (#32, #33, #34, #36). Booty provisions a
whole Kubernetes cluster from nothing: it generates the cluster CA under
data/cluster/pki/(or loads your--clusterCADir), renders the control-plane host's Ignition and joins every other host as a worker, on Flatcar, Fedora CoreOS and Bluefin Server. Two distributions are supported: kubeadm (default) and k0s (--clusterDistribution=k0s), under either--controlPlane=managed(Booty renders the control plane itself) orexternal(today's join-only behaviour).GET /clusterreports the live connection, bootstrap progress and per-host roles. kubeadm join tokens are minted per boot through the Kubernetes API with--kubeadmJoin=auto(one-hour TTL, cleaned up on the update tick); k0s worker tokens are minted the same way. CNI (--cni=cilium|calico|flannel|none) is installed from the control plane. - Secure Boot, UEFI HTTP Boot and ProxyDHCP (#25, #37, #38).
--secureBootanswers UEFI HTTP Boot clients over ProxyDHCP with a Microsoft-signed iPXE shim that loads a signed iPXE, so machines with Secure Boot enabled can netboot without disabling it. Flatcar kernels are verified against the Flatcar Secure Boot CA extracted from the release itself once you assert--secureBootTrusted=flatcar(and enrol the CA into the firmwaredb); Fedora CoreOS boots through Fedora's shim; anything else gets a refusal menu that explains the missing piece instead of a failed boot.--proxyDHCP(PXE 2.1, off by default) answers PXE clients on UDP 67 + 4011 alongside your existing DHCP server, so the network needs nonext-server/filenamefor Booty-managed machines. - Bluefin Server support (#30, #39, #63). Booty serves Bluefin Server
diskless over UEFI HTTP Boot with a per-host Ignition config
(
/bluefin/<mac>/bluefin-node.ign), or installs it to disk withdoInstall+installDisk. Hosts carrystateDisk(persistent/var),extensions(opt-inzfs/kubestellar/k0s/ NVIDIA driver andnvidia-container-toolkitsysexts) andmode. Releases are tracked from the GitHub releases of--bluefinRepo(defaultprojectbluefin/server) or from an ORAS OCI artifact via--bluefinOCI, every file verified against the release'sSHA256SUMS(plus theSHA256SUMS.gpgsignature when--bluefinKeyringis set, failing closed). Chainloading from iPXE with Secure Boot off and a legacy BIOS diskless path cover older firmware. - Configuration view and editor (#31).
GET /configshows every effective setting with its source (flag / env / default), secrets redacted, plus the Butane templates in play and whether each is writable. The UI's Config page reads it, and a template editor (GET/PUT /config/template,POST /config/template/validate) validates with Butane and writes atomically inside the data directory; read-only mounts (a Kubernetes ConfigMap, for example) are detected and refused with a clear reason. - Autopilot (#40, #41, #42, #43, #57, #71, #72, #75). Booty is now a
self-healing upgrade controller.
--autopilot=guardgates every reboot into a release the host has not passed on (kernel fetched, OS up, no failed units, Node Ready with workloads healthy inside--autopilotHealthWindow), retries once, rolls the host back tolastGoodand holds the fleet there when the release is at fault, and gives up toneeds-handsafter--autopilotRetryAfter.--autopilot=fulladds a Bluefin canary-serial rollout (one host at a time, canaries first), release quarantine and skip-to-next. Health reports come from aPOST /healthbuiltin unit. A report stub is kept per blamed release, rendered todata/autopilot/reports/<os>-<version>.mdwith redaction (hostnames, MACs, IPs, UUIDs, tokens), and--autopilotIssues=<owner>/<repo>with--githubTokenposts Bluefin quarantines as deduplicated GitHub issues (prefix titles with--autopilotIssueTitlePrefixwhile testing against a fork). Endpoints:GET /autopilot(bounded, see above),GET /autopilot/reports/<key>.md,POST /autopilot/{os}/release/{version}/clear,POST /autopilot/host/{mac}/clear, all surfaced on the Autopilot page. - Power (#67, #68). Booty tracks each host's power state from the
signals it already sees plus a TCP probe, and exposes
GET /powerandPOST /power/{mac}/{on,reboot,shutdown,cancel}. Power on sends Wake-on-LAN magic packets to every broadcast and the host's own IP; Reboot and Shutdown go through the same SSH and API actuators the autopilot uses (never kured), with drain, force and reason fields. The UI shows a per-host badge with a tooltip, three buttons behind an inline confirm, a fleet summary on the Overview and the events in the Autopilot timeline. - Storage page and
GET /storage(#73, #74). Replaces the OCI Cache page. Reports the data directory by release with size, mtime, the links that name it (current/previous/lastGood), the hosts running or pinned to it, and the retention reason (current,previous,lastGood,pinned, or-for "the next sync prunes it"). Pruned autopilot history is joined in behind a Show pruned release history switch. - "No agent yet" badge and fleet targets (#68). Hosts that have never
reported (
running,lastCheck,booted,healthall empty -- pre-P1 boots, or--builtin=none) show a muted no agent yet badge instead of an unknown version, and the Overview counts them.GET /info.targetsreports the hold-aware fleet target per OS so the Hosts table can mark every host on-target or behind. - Cluster card for external control planes (#64). The Overview's Cluster card reads connected / unreachable in external mode, with the node count and API server shown when known.
- Release retention by reference (#40). Pruning keeps exactly the
releases that
current,previous,lastGoodor any host'stargetVersionnames, and removes every other release directory -- a bad release can be rolled back tolastGoodwithout a download, at the cost of up to three releases on disk per OS. booty node-reboot(#41). New subcommand run by the reboot Pod the API actuator schedules:sync, thenSIGRTMIN+5to PID 1 (reboot.target).--poweroffsendsSIGRTMIN+4instead.
- Stability gate cap. The L2 "node Ready and stable" requirement is
capped at half of
--autopilotHealthWindow, so a short window stays passable. (#72) - Serial-rollout hold immediacy. The Bluefin fleet target is held at
lastGoodthe instant a new release lands, not from the controller's next tick, so a host whose update timer fires in between still sees the held target. (#72) - Netboot-version-aware
SHA256SUMS./bluefin/<mac>/serves the checksum files of the release this host's UKI or kernel was fetched from (netbootVersion), so an initrd keeps verifying against its own release even when the autopilot repoints the host mid-boot. (#72) - Blank containerd disk format on Bluefin. A Bluefin kubeadm worker
formats
--containerdDiskext4 once if and only ifblkid -pfinds the device blank (no filesystem, no partition table), refuses its ownstateDisk/installDisk, and mounts whatever was already there as-is. The old "never format" rule used to fail the mount and with it containerd, the kubelet and the join on a fresh disk. (#69) - Health gate ignores Booty's own reboot Pod. The health gate no longer
counts the privileged
booty-node-reboot-<node>Pod (which necessarily endsFailedwhen the node reboots underneath it) as an unhealthy workload. (#71) - L0 only from the host's own address. A kernel or UKI fetch counts as
a boot (starting the health gate, moving the power tracker) only when it
comes from the host's recorded IP, so a stray
curlof/booty.ipxe?mac=…from a workstation is served as usual but starts no gate and changes no power state. (#72) - cosign v3 verify. Provenance verification uses
cosign verify-attestation --new-bundle-format=false, which keeps reading the legacy OCI.atttag the SLSA generator still emits (cosign v3 otherwise auto-detects bundles and misses it). (#59) - Flaky controller test. The controller tracks its goroutines so tests can wait for them. (#72)
- Storage page follows the bounded
/autopilotanswer. The Storage page fetches?releases=allso the pruned-history join sees the whole release history, not just the default window. (#75) - Storage tables align across OSes. Untracked and empty cells read consistently between Flatcar, CoreOS and Bluefin. (#74)
-
SLSA provenance on release images. Release tags are built by GitHub Actions with SLSA level-3 provenance, signed with cosign (keyless), and the attestation is verified in CI before the build is considered green. Verify locally with:
COSIGN_EXPERIMENTAL=1 cosign verify-attestation --new-bundle-format=false \ --certificate-identity-regexp=".*" --certificate-oidc-issuer-regexp=".*" \ --type slsaprovenance ghcr.io/jeefy/booty@<digest>
- README: Secure Boot / UEFI HTTP Boot section with enrolment instructions
(#37, #38), Bluefin Server section covering releases, boot paths, Ignition,
NVIDIA and install (#30, #39, #60, #63), cluster bootstrap and managed k0s
(#32 – #35), autopilot P1–P5 (#40, #41, #42, #43, #57), Power (#67),
Storage (#73), configuration editor (#31), actuator order (#65),
/clusterconnection fields and whatreadymeans (#64), Bluefincoreuser (#70), no-agent badge and/info.targets(#68), bounded/autopilot(#75). examples/k8s.yamlrewritten as a production-shaped Deployment: the ServiceAccount, Roles and ClusterRole the autopilot and token minting need, a ConfigMap with the site-only Butane, a Secret with the SSH keys,/healthzprobes,NET_BIND_SERVICE+NET_RAWonly, and thePOD_NAMESPACE/BOOTY_IMAGEenvironment variables the API actuator reads. (#27, #41)
See the v0.3 release on GitHub.