Files
werewulf/CHANGELOG.md
T
ilkerandClaude Opus 5 fa347f630f Release v0.1.0: a changelog, and a binary that names its release
The repository has never been tagged, so there has been no way to say
which version is on a host - only which commit, which answers a
different question when the point is "is this the release we agreed
on".

`hpcod version` now prints "v0.1.0 (f6ea30dc1234)". The revision stays
in the output alongside the tag because it is the part that cannot be
wrong: a tag can be moved, a revision cannot. The Makefile derives the
tag with `git describe --tags --dirty`, without `--always`, so a build
made with no tag in sight reports the revision alone rather than
inventing a version, and a build from an edited tree says +dirty.

The changelog states what is knowingly absent as plainly as what
works: leases are recorded but nothing enforces them, there is one
Proxmox node, there is no slurmdbd, and nothing bills.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 23:56:34 +02:00

76 lines
3.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
## v0.1.0 — 2026-09-21
First tagged release. The repository holds two things: the Warewulf HPC lab
documented in sections 01–09, and **HPC-on-Demand** (`hpcod/`), a control
plane that provisions clusters of that kind on demand. This release is about
the second.
### The chain that works end to end
Someone signs up on the public site, an administrator approves them, and from
there the portal takes a request for a cluster through to a running desktop
with a job on it. Every step below was exercised on `hv01`, not inferred:
1. **Sign up, and wait.** New accounts land in `pending`; nobody gets in until
an administrator approves them. Disabling an account takes effect on the
next request, not when the session happens to expire.
2. **Ask for hardware, not for a flavour.** A request names capabilities —
GPU, InfiniBand, RoCE, NVMe, cores, memory — or just names the software it
wants and lets the application catalogue imply the hardware.
3. **Placement picks a site and a node.** Devices already handed to another
cluster are not offered again, and neither are devices reserved for a
cluster that has been allocated but not yet built. Oversubscription is a
policy an operator sets from the portal, with separate CPU and memory
ratios; turning it off does not lose them.
4. **Allocation is atomic.** Cluster ids, management addresses and PCI devices
come from PostgreSQL under an advisory lock, so two requests racing for the
last GPU produce one cluster and one clear refusal.
5. **Terraform builds it.** An SDN vnet for the cluster fabric, a head node and
compute VMs, with the placement carried straight through from the record.
Teardown removes them in an order that actually works.
6. **Ansible finishes it.** Warewulf 4.7, OpenHPC 3, Slurm 25.11, MUNGE,
Apptainer, shared `/opt/apps`, and Open OnDemand on the head node.
7. **The cluster publishes itself.** It appears at
`c<NNN>.<domain>`, behind the control plane, with the portal's certificate
pinned at the moment it was published.
8. **One sign-in, not two.** The cluster portal trusts the control plane over
mTLS, so a session that may use a cluster reaches it without another
password. A session that may not gets nothing, and a hostname for a cluster
that does not exist says so instead of showing the front page.
9. **A desktop, a terminal, and a job.** XFCE over TurboVNC in a container, a
shell on the head node, and `srun` from inside either.
### Measured
- Cold provision of a tenant cluster: **~134 s**.
- Node image build: ~12 min, done once and shared, not per tenant.
### Known limits
These are absent by decision or by circumstance, not by oversight:
- **Leases are recorded but not enforced.** `store.Expired` returns what has
run out; nothing acts on it yet. No reaper.
- **One Proxmox node.** Placement discriminates between sites and between
hosts, and the Terraform module takes a per-VM host — but `hv01` is a single
node, so multi-site placement is tested against fixtures rather than metal.
- **No central Slurm accounting.** There is no `slurmdbd`, so jobs carry no
cluster name and `sacct` history is per-cluster.
- **Whole-device GPU passthrough only.** MIG and vGPU are out of scope.
- **`/home` only.** No scratch, no parallel filesystem.
- **Nothing bills.** The allocation record is the raw material for it and is
written; no code reads it for that purpose.
- **The API in §20.9 is partly implemented.** The portal and CLI cover what is
built; the REST surface does not yet.
### Operating notes
- `hpcod version` now reports the release tag alongside the revision, e.g.
`v0.1.0 (f6ea30dc1234)`. A binary built outside the Makefile prints the
revision alone rather than guessing.
- The control plane needs `$HPCOD_DB_DSN` or `-db`; the CLI and the service
resolve it the same way.
- `make deploy-portal` builds for Linux and installs it on the Caddy host.