GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TALM bootstrap: declarative per-node disk config for non-identical drives · Issue #1812 · developing-today/code

TALM bootstrap: declarative per-node disk config for non-identical drives #1812

New issue
Copy link
New issue
Copy link
Closed
#5052
Closed
TALM bootstrap: declarative per-node disk config for non-identical drives#1812
#5052
Copy link
Assignees
dezren39
Labels
effort/lLarge: multi-day or open-ended; expect staged check-inskind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 28, 2026
Issue body actions

Relocated from dezren39/darwin-nix#503 on 2026-10-28 - it was filed in the wrong repo; developing-today/code is its home. Original content follows, verbatim.


Problem

Drew's open design question, verbatim from the register: how do you declaratively configure, in Talos/TALM, a bunch of hard drives that are all different per machine?

The cluster must be bootstrapped with TALM (cozystack/talm) — turn on bare machines running Talos, connect them, and TALM harvests each node's actual hardware into named per-node configs that we keep in git. Drew got this working locally with a couple of containers, barely; the full bare-metal flow is unproven. Hard constraints: everything bootstrappable/declarative, no HashiCorp anything.

Source: idea register 2026-10-20. Research baseline: hidden_files/research-brief-2026-10-03.md in the goal (talm v0.35.0, Talos v1.14.1, Cozystack v1.6.4).

What we know

  • Target: 3–5 machines (chosen by the hardware-inventory issue) as the first Talos/Cozystack nodes.
  • Host OS approach: Talos's small, frozen read-only host image on each machine's NVMe boot drive; the rest of the NVMe is for minor logs and wear-leveling headroom across consumer SSDs (best: 990 Pro).
  • Per-node drives differ (SSD models/sizes vary; HDD counts vary) — the per-node config harvest is presumably the answer; document exactly how disks get matched/named per node.
  • Downstream consumers of this config: the storage-pools issue (RAID/LINSTOR layouts) and Cozystack services (Postgres, NATS, RustFS, FluxCD, Tailscale, Cloudflare tunnel).

Acceptance / first steps

  • Research talm's discovery/harvest flow for heterogeneous disks: how drives are identified in per-node configs, what happens on disk replacement.
  • Prove the flow end-to-end on the first nodes: bare machine → Talos booted → talm harvest → named per-node config committed to git → reproducible re-apply.
  • Document the frozen read-only host-image layout (OS partition vs logs/wear space) for our NVMe boot drives.
  • Write the runbook: adding a node, replacing a disk, wiping/rebuilding a node from config only.

Open questions

  • How are non-identical system disks handled if a boot NVMe dies and is replaced with a different model/size?
  • Where do the harvested per-node configs live — this repo, or a dedicated cluster-config repo?

Acceptance criteria

  • A worked TALM/Talos approach for per-node declarative disk config on non-identical drives is recorded on this issue (or a linked doc/PR), proven on at least the container/local flow Drew already has partially working.
  • The approach keeps everything bootstrappable/declarative and uses no HashiCorp tooling (hard constraint in the body).
  • Follow-up issues are filed and linked for the bare-metal proof on the first cluster nodes (see Hardware inventory + hardware-stats gathering: pick the first 3–5 cluster machines #1810).

Activity

Next
  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    source/humanFiled directly by a human
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 28, 2026
  2. developing-today commented on Oct 28, 2026

    @developing-today
    developing-todayBot
    on Oct 28, 2026 – with developing.today
    Contributor
    More actions

    CODE-746

  3. dezren39
    added
    kind/infrastructureInfrastructure / host-portability work
    on Oct 28, 2026
  4. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    Comments carried over from dezren39/darwin-nix#503 (verbatim, in order):


    dezren39 - 2026-10-26T21:33:04Z

    Intake review

    🤖 Fleet monitor intake pass (protocol §5).

    Related: the 2026-10-20 lab-cluster idea register (linked in the body); sibling issues dezren39/darwin-nix#501 (inventory / first nodes), dezren39/darwin-nix#502, dezren39/darwin-nix#504, dezren39/darwin-nix#505.

    Live check: still open and unlabelled at intake; no merged PR resolves it — the full bare-metal TALM flow is described in the body as unproven.

    Notes / risks: per-node drive differences are the core difficulty; a scheme that only works on identical disks does not meet the stated problem.

    Suggested approach: prove the harvest-to-named-config flow on the local/container setup first and record it, then schedule the bare-metal proof once dezren39/darwin-nix#501 picks the first nodes.


    dezren39 - 2026-10-27T03:26:05Z

    Superseded by #1086 (TALM + Talos bootstrap epic)

    The basement cluster program was seeded into its standard structure on 2026-10-26 (roadmap + epics + sub-issue tasks in developing-today/code, all in org Project #4 as Area=lab-cluster). Do not start work from this issue - work is tracked at #1086 (TALM + Talos bootstrap epic). Full mapping is on nixdezren39/nix#508. Left open for Drew to close as superseded.

  5. github-actions
    assigned
    dezren39
    on Oct 28, 2026
  6. dezren39
    added a parent issue on Nov 1, 2026
    • EPIC: Basement Talos/Cozystack cluster program #1817
  7. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  8. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  9. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 3, 2026
  10. 5 remaining items

  11. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
  12. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-o
    • Session / ID: task 8148
    • Found via: queue claim
    • Task: Writing the TALM bootstrap: declarative per-node disk config for non-identical drives #1812 deliverable from the triage task 7746 record: the TALM/Talos per-node disk design answer + runbook (add node / replace disk / rebuild from config) under infra/cluster/, with parse-checked YAML examples (node file with serial diskSelector; UserVolumeConfig CEL with !system_disk) and the local container-flow proof notes. Bare-metal proof stays gated on Hardware inventory + hardware-stats gathering: pick the first 3–5 cluster machines #1810, out of scope.
    • Expectation: effort/l epic child; this packet is done when the docs PR is opened and linked here and TALM bootstrap: declarative per-node disk config for non-identical drives #1812 is marked ready for its remaining bare-metal bullet.
    • Links: branch queue/8148-1812-talm-disk-runbook
  13. dezren39
    added a commit that references this issue on Nov 3, 2026

    docs(infra/cluster): TALM/Talos per-node disk config answer + runbook (…

    d5fa806
  14. dezren39
    closed this as completedin #5052on Nov 3, 2026
  15. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-o
    • Session / ID: task 8148
    • Found via: queue claim
    • Task: Docs deliverable for issue TALM bootstrap: declarative per-node disk config for non-identical drives #1812 is complete and merged: PR docs(infra/cluster): TALM/Talos per-node disk config answer + runbook (#1812) #5052 (squash d5fa8062bfe219a75eaae5e018cfde988378694b) adds infra/cluster/README.md + infra/cluster/examples/ — the TALM node-file mechanism, identity-based disk matching (diskSelector serial/wwid; UserVolumeConfig CEL with !system_disk), boot-disk layout, the add-node / replace-disk / rebuild-from-config runbook, and the local container-flow proof notes, all transcribed from the verified triage record (task 7746) with sources cited. Both YAML examples parse (verified; laptop copies md5-identical to the parsed copies).
    • Acceptance mapping: bullets 1, 3, 4 (worked approach recorded in a linked doc; frozen host-image layout documented; runbook written) and the container/local-flow half of the criteria are done. The harvested-config home question is answered in the doc (infra/cluster/<cluster>/ here; a separate repo would be Drew's call).
    • Remaining: the bare-metal proof bullet (first nodes: harvest → named config → reproducible re-apply, plus the rebuild drill) stays open on this issue, gated on Hardware inventory + hardware-stats gathering: pick the first 3–5 cluster machines #1810 (hardware inventory) under epic epic(cluster): TALM + Talos bootstrap #1086 — exactly the ordering the triage recorded. Issue TALM bootstrap: declarative per-node disk config for non-identical drives #1812 stays open for that bullet; this note marks it ready for it.
  16. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 3, 2026
  17. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Pointer for this issue's open question — "Where do the harvested per-node configs live — this repo, or a dedicated cluster-config repo?": the question is now owned by #14016 (design: cluster-config home + TALM bootstrap skeleton, the Phase 1 head of the sequenced cluster plan on #1817), which will record the decision with reasoning and link it back here.

  18. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Answered on #14016: the config home is infra/cluster/basement/ in this repo (skeleton merged in PR #14153). Details and proof are on #14016.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

effort/lLarge: multi-day or open-ended; expect staged check-inskind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.