Repository navigation
Tags
Tags
- **Slurm 26.11 joins the node images.** `ghcr.io/gsi-hpc/sind-node:v… …0.18.0`, the default image of the v0.18.0 binaries, now carries Slurm 26.11.0. The 26.05.6 and 25.11.9 lines stay, as `v0.18.0-26.05` and `v0.18.0-25.11`. The Slurm dashboards of the monitoring stack show node memory in bytes for 26.05 and 26.11, which report it in different units. - **Web pages can no longer take over the monitoring stack.** Any page in a browser on the host could reach Grafana and Loki at their predictable addresses. The anonymous Grafana visitor is now an Editor, not an Admin, so it cannot add datasources, service accounts or settings. Grafana alerting is off, so it cannot be made to send query results to another address. Loki's delete API is off, so a plain form POST cannot delete logs. In a monitored realm, the next `sind create cluster` or `sind create worker` recreates the stack's containers and keeps their data. - **A killed or failed command leaves less behind, and a later command removes what is left.** `SIGHUP` (a closed terminal or SSH session) now cancels a command like `SIGTERM` and exits 130, so a `create cluster` rolls back. A `delete cluster` that was killed after it removed the containers left DNS records, `known_hosts` entries, monitoring targets and journals, and the next delete reported success. Now the next delete finds them by the cluster's DNS domain and removes them. A `create` fails and rolls back when a helper container cannot be removed. - **`sind ui` keeps its tasks alive.** A task keeps running and rolls back when `sind ui` dies from a hangup, a second Ctrl-C or the OOM killer. `sind ui` refuses a new task once an upgrade replaced the `sind` binary, and asks you to restart it. Sign-in through `--open` works in Chrome, and open tabs keep their session. The clocks, units, live updates and node dialogs of many nodes were corrected (see the commits of the `fix(ui)` series). - **Config checks follow Slurm and Docker more exactly.** See the list below. - The node images use PMIx 5.0.11 and PRRTE 3.0.14 (v0.17.0: 6.1.0 and 4.1.0), because PMIx withdrew 6.1.0 and deleted its tarball. UCX is 1.23.0. The monitoring stack runs Grafana 13.3.2 and Loki 3.7.11; Alloy v1.22.0 and Prometheus v3.16.0 are unchanged. - `sind doctor` and every command that needs the daemon refuse a Docker CLI older than 28.0 (and one before 24.0, whose `docker info` has no version). Such a CLI used to pass and fail at the first `docker create`. - The mesh DNS serves node records with a TTL of one second. Before, the host's `systemd-resolved` kept the old address of a node for an hour after `power on`, `reboot` or `cycle` gave it another one. The DNS container logs only errors, so its log no longer grows without a limit. - Deleting the last cluster of a realm reverts the host DNS only when `pkcheck` allows it, as `create` does. Before, a desktop user could get an admin password prompt for a link that sind never configured. - `sind power cycle` starts a node that it finds off, as `reboot` does, and `sind power cut` of a node that is off succeeds. - A node expression with `!`, `&` or `^` that names a node of the default cluster both with and without its suffix is a usage error that names both spellings. Before, `worker-[0-3]!worker-2.default` excluded nothing, and the command acted on the node you excluded. - `sind create cluster --config` reads a pipe once, and Ctrl-C ends a read of `--config -`. The warnings of a config are escaped in the output. `logs --follow` ends its `journalctl` with the command, and `exec` completes the cluster after its own flags. - `sind mcp`: a tool call returns the first and the last MiB of each output stream, with a line that says how many bytes it left out. A second `sind mcp stream` that runs at the same time needs `SIND_MCP_TOKEN`, because the token file holds the token of the first. A server with no name that an editor config defines twice is refused, and a config with a byte order mark or only comments loads. - The config refuses a second YAML document, a section that sets both `content` and `fragments`, a fragment name that Slurm cannot include (use letters, digits, `_`, `.` and `-`, not beginning with `.` or `-`), an image digest that is not `sha256` with 64 lowercase hex digits, and a `tmpSize` with a leading zero, which the kernel reads as octal. A colon in the data mount path works: the data volume is mounted with `--mount`, so it no longer fails at `docker create` after the network and volumes exist. - `slurm.conf` lines that continue with a backslash are joined as Slurm does. `sind-nodes.conf` edits only partition `all` and sind's nodes, and keeps partition `all` at its place. The slurmdbd and cgroup files write `AuthType`, `AuthInfo` and `CgroupPlugin` only when your section does not set them, so a parameter is no longer written twice. - `sind create worker` refuses a data host path, CVMFS mode, users or identity that only a label of the controller's image gives, and it inherits `systempaths=unconfined` from a worker that has it. Before, such an image label gave every new worker a read-write bind mount. - A `create` or `delete` fails or warns where it did not: a worker that `sind-nodes.conf` defines without a container is deleted, the workers of a failed `create worker` are removed in parallel, and a failed stack of an unmonitored cluster's realm is a warning. - `sind ui`: a YAML config for New cluster must set `storage.dataStorage` with an absolute host path, because `sind` would take the directory from the working directory of `sind ui`. The copied delete and power commands name the realm. Hidden tabs release their live streams. - A new page, Related Tools, compares sind to similar tools. - The monitoring guide and `DESIGN.md` count web pages among those that can reach the stack, and say what they can still do. The Web UI pages and the troubleshooting page describe the new task rules. - The architecture guide, the testing page and the library pages are in step with the code. A Go example shows a library caller's `create`. This release breaks the library API, as the v0.x policy allows in a minor release. - `pkg/doctor`, `pkg/monitor`, `pkg/observability`, `pkg/probe`, `pkg/slurm` and `pkg/ssh` are `internal`. `ServiceHealth`, `MonitoringService` and `SlurmInfo` use sind's own types, `ssh.ExportConfig` is `cluster.ExportSSHConfig`, and `probe.NodeProbes` is removed (use `cluster.WaitNodes`). - `cluster.Create` takes `CreateOptions` and returns only an error. `WorkerAdd` returns `[]*NodeSummary` and takes its interval in `WorkerAddOptions.Interval`. `WaitNodes` takes `WaitOptions`. `cluster.Cluster`, `cluster.Node`, `ResolveRealm`, `ResolveCluster` and `RealmFlagError` are gone, `NodeDetail.Status` is `NodeDetail.State`, and `NetworkHealth.StackHealth` is a `map[string]bool` keyed by service name. - The node construction of `pkg/cluster` (`RunConfig`, `CreateNode`, `BuildRunArgs`, `NodeRunConfigs`) and its command-line builders are not exported. - `config.DefaultImage` is `config.DefaultNodeImage()`, and a library caller's default image is the node image of its sind release. `slurm.FixedParameters` is `config.FixedSlurmParameters()`, and `Validate` refuses configs that it accepted before. - `mesh.DNSImage` is a function. `mesh.NetworkName`, `DNSContainerName`, `SSHContainerName`, `SSHVolumeName` and `LabelRealm` are removed: use `RealmNames` or the `Manager` methods. - `docker`: `NetworkInfo.ID` is a `NetworkID`, `File.Mode` is an `fs.FileMode`, and `Client.Command` is a method (set it with `docker.WithCommand`). `cmdexec`: the `With*` context options are internal, and `ExitError` has a `Code` field and an `Err` of type `error`. The full list is GitHub's generated changelog (`v0.17.0...v0.18.0`).
## Highlights
- **A cluster is ready when its workers take jobs.** slurmd tells systemd that it is ready before it registers with slurmctld, so `sind create cluster` could return while `sbatch` still found no node. Now `sind create cluster` and `sind create worker` also wait until `sinfo` on the controller lists each worker where sind manages Slurm as registered. Exit status 0 means that jobs can run on every new worker at once. `--wait` bounds this wait too.
- **The power commands can wait for the nodes.** `sind power on`, `reboot`, `cycle` and `unfreeze` take `--wait DURATION`. With it, they wait as `sind create cluster` does: systemd, sshd, munge, the Slurm daemon of each node, then the workers' registration with slurmctld. `--wait 0` waits without a limit.
```
# Reboot workers and return once they run jobs again, within 5 minutes
sind power reboot 'worker-[0-3]' --wait 5m
```
- **`sind get cluster` and `sind get node` show what slurmctld says about each worker.** A new `SLURM` column shows the node state of `sinfo`, such as `idle`, `drained` or `down*`. With `-o json`, each such worker has `"slurm": {"state": "idle", "registered": true}`, and `reason` when slurmctld gives one.
```
NAME ROLE IP STATUS SLURM SERVICES
controller.dev controller 172.19.0.2 running - munge ✓ slurmctld ✓ sshd ✓
worker-0.dev worker 172.19.0.3 running idle munge ✓ slurmd ✓ sshd ✓
worker-1.dev worker 172.19.0.4 running down* munge ✓ slurmd ✗ sshd ✓
```
## Changes you can see
- `sind create cluster` and `sind create worker` fail at once when slurmctld rejects the registration of a worker (state `inval`, for example fewer CPUs or less memory than the node's definition), with the reason that slurmctld gives. Before, the command succeeded and the worker took no jobs. A worker that does not register within `--wait` fails the command with exit status 1, as a node that is not ready does.
- The power commands that start nodes read `SIND_WAIT` when you do not give `--wait`. If your shell or CI job sets `SIND_WAIT` for `sind create`, `sind power on`, `reboot`, `cycle` and `unfreeze` now wait too. Without `--wait` and `SIND_WAIT`, they return once the containers run, as before. `sind ui` runs its commands without the `SIND_*` variables, so its Power dialog does not wait.
- With `--wait`, a power command that starts workers fails at once when no controller of their cluster runs, as the workers cannot register. Start the controller first, or in the same command.
- After a stop shorter than `SlurmdTimeout` (300 seconds by default), slurmctld can still list a worker as registered from before. The wait of a power command then passes once the worker's slurmd runs again.
- The `NODES` table of `sind get cluster`, and the table of `sind get node` for a worker, have a new column. A script that reads these tables by column position must change; use `-o json`, which only adds fields.
- `sind get cluster` and `sind get node` run one `sinfo` on the controller. When slurmctld does not answer, they wait up to 10 seconds and then show `-`.
- The MCP tools of `power on`, `reboot`, `cycle` and `unfreeze` take `wait`, without a default, as `sind_create_cluster` does.
- The monitoring stack runs Alloy v1.22.0 and Loki 3.7.10. In a monitored realm, the next `sind create cluster` or `sind create worker` recreates the stack's containers with the new images, and keeps their data.
## Docs
- The power control page has the section **Wait for the nodes**. The cluster lifecycle and worker pages say what exit status 0 of `sind create` means, and the diagnostics page shows the `SLURM` column, the `slurm` JSON object and a loop that waits for a worker's registration.
- The progress page names the wait for the workers' registration in the step `slurm`, and the step `readiness` of the power commands.
## Library API
- New: `cluster.WaitNodes`, which waits for nodes that exist as `Create` waits for its nodes, with the workers' registration; `cluster.AddSlurmStates` and `cluster.SlurmNodeState`, the Slurm state of the managed workers in `NodeHealth.Slurm` and `NodeDetail.Slurm`; `probe.WorkersRegistered`; `slurm.SinfoNodesCommandFor`, `slurm.NodeStateRegistered` and `slurm.NodeStateInvalid`.
- `cluster.Create` and `cluster.WorkerAdd` wait for the workers' registration with slurmctld. `cluster.GetStatus` does not run `sinfo`; call `cluster.AddSlurmStates` for the states. `cluster.GetNode` adds the state of a managed worker.
## Maintenance
- goreleaser v2.20.2, built with Go 1.27.4. `make lint-docs` pins markdownlint-cli2 0.24.1.
- The video tooling uses HyperFrames 0.9.41 and keeps its undici override, as HyperFrames still pins undici 7.25.0. The voice requires numpy 2.5.4 and onnx 1.23.2 or later. The screenshot tool uses cdproto 0.160.0. The sind binary does not change.
The full list is GitHub's generated changelog (`v0.16.1...v0.17.0`).
## Changes you can see - The node images run Slurm 26.05.6 and 25.11.9. The monitoring stack runs Grafana 13.3.1, Prometheus v3.16.0 and Alloy v1.21.3. In a monitored realm, the next `sind create cluster` or `sind create worker` recreates the stack's containers with the new images and dashboards, and keeps their data. - Journal lines of priority 3 carry `level="err"`, the name that journalctl uses, as the error lines of Slurm and MariaDB already did. The **Service health** panels and the queries of the monitoring guide now count the errors of every unit, such as systemd's `Failed to start` lines. Lines that Loki stored before keep `level="error"` until its retention of 7 days drops them. - The **Processes** panel of the Nodes dashboard shows the processes of each node. It was empty. - `sind doctor` says that 10 or more nodes on the host need `fs.inotify.max_user_instances` of 1024, in one cluster or in several. It said "clusters of 10 or more nodes". - GitHub's `ubuntu-latest` now runs Ubuntu 26.04, which allows 128 inotify instances: about 10 nodes use them up, and the next node containers exit with code 255. Use sind-action v2.3.0 or later (the `v2` tag), which raises the limit, or raise it before you create clusters (see **Container exits with code 255** in the docs). - `sind ui --port` with a port outside 0 to 65535, and `--still` without `--demo`, are usage errors and exit 2. They exited 1. - `sind get nodes CLUSTER` says `No nodes found in cluster "dev" in realm "sind".` for a cluster without nodes, as `sind get nodes` does for a realm. ## Fixes - With Docker 29, `sind doctor` prints the command that starts a stopped daemon. Docker 29 reports a missing socket as `failed to connect to the docker API at ...`, which the check did not know. - With Docker 29, the readiness probes report that Docker is not reachable when the daemon goes away. Before, sind took docker's error for the exit status of the command in the node. - `sind doctor` says `not checked` for the DNS policy when it cannot tell where the Docker daemon runs. It said that the daemon runs on another host. - A flag value that sind cannot parse before the subcommand, as in `sind -v=x get clusters`, reads `invalid --verbose value "x": want a whole number`, as after the subcommand, not Go's parser error. - When `sind create cluster` fails while it makes the mesh, the removal of the mesh ends after 5 minutes, as the rollback of a cluster does. A hung Docker daemon held the command until a second Ctrl-C. - The rollback of a failed `sind create cluster` or `sind create worker` ends after 5 minutes also when it writes the mesh DNS records, `known_hosts` or `sind-nodes.conf`. These writes ignore Ctrl-C, so that they are never cut short, and a hung Docker daemon could hold the rollback in them. - `sind delete worker` keeps the workers' DNS records and `known_hosts` entries when it cannot update the Slurm configuration, as the workers stay. - `sind help topics` lists only the topics that `sind help` prints. It listed `doctor`, `power`, `connect` and `disconnect`, for which `sind help` prints the help of the command. - MCP tool calls pass large whole numbers in full: `"tail": 1000000` ran `sind logs --tail 1e+06`, a usage error. - A monitored cluster whose data `mountPath` is `/var/log/journal` fails validation. Docker refused to create its nodes. - `make image` passes `--allow=network.host` to `docker buildx bake`, which prompted for it or failed. - sind ui: - New cluster takes configs up to its field limit of 64 KiB, and keeps their drafts. It refused a config of about 50 KiB and lost the draft of one of about 35 KiB. A form that sind ui refuses now says why in the preview. - **Connect a container** no longer says that the container reaches the nodes by name. It resolves their names only when it sends its queries for the realm's zone to sind's DNS server, as the kind guide shows. - The note of **Connect a container** counts only the nodes of the realm. In a monitored realm it counted Grafana, Prometheus and Loki as nodes too. - The node set field of the Power dialog says what it takes: names, ranges and lists. - A run that timed out names inotify instances, which Doctor checks, among the causes. - The demo shows Slurm 26.05.6 and the images that sind pins. ## Docs - The installation page lists the host prerequisites. The CI guide and the page on exit code 255 say what a runner needs for the inotify limit. - `gh attestation verify` needs gh 2.102.0 or later: older releases match `--signer-workflow` only as a prefix, and 2.92.0 and earlier send your token to TUF mirror hosts. - The quickstart shows the lines that `sind create cluster` prints for each step it finished. - A review of the docs, DESIGN.md and the help of sind ui against the code corrected about 150 statements, among them the progress samples, the locked operations, the MCP configuration of VS Code and Copilot, and the requirements of custom images. ## Library API - New: `cluster.RollbackTimeout`, the 5 minutes that bound a rollback. - `docker.Client.ExecAllowNonZero` returns an error that matches `docker.ErrUnreachable` for every way docker reports an unreachable daemon, Docker 29's included. - `cluster.WorkerRemove` removes the workers from the mesh only after the Slurm update succeeded. ## Maintenance - Go 1.27.4, which fixes GO-2026-6859, a crash in `net/http` in code that sind calls. go.yaml.in/yaml/v3 3.0.6, golang.org/x/crypto v0.59.0, x/sync v0.25.0 and x/sys v0.50.0. - Grafana 13.3.1 has security fixes. - goreleaser v2.20.1, Hugo 0.169.0, golangci-lint v2.15.0, govulncheck v1.9.0. `make lint-docs` pins markdownlint-cli2 0.24.0. - CI raises the inotify limit on the Ubuntu 26.04 runners for the integration tests and the overview video, runs the tests of the screenshot tool, lints the docs, runs the arm64 builds and tests on Ubuntu 26.04, and fails the weekly image update check when the check itself fails. - Dependabot also updates the Go modules of the screenshot tool, the npm packages of the video tooling and the Python pins of its voice. The screenshot tool uses chromedp v0.23.0, the video tooling HyperFrames 0.9.38. The full list is GitHub's generated changelog (`v0.16.0...v0.16.1`).
## Highlights - **sind ui says what needs a look, and how to fix it.** Every page counts the nodes that need a look by one rule, now also the workers that Slurm sends no jobs, such as drained ones. **Needs you** on the Overview lists each problem with the fix to try first. The page of a node says what failed and when, shows the end of the journal of the failed service, and lists the fixes in order, such as **Restart slurmd…**, then **Reboot…**. After a fix, a green card says what sind ui checked. The new action **Restart a service** runs `sind ssh NODE -- systemctl restart UNIT` (`sind help restart-service`). - **New cluster is a page with a plan.** Start from Quick test, With job history, Like a site, or a copy of a cluster that you have. The plan shows the memory and CPUs that the nodes take of the host, the `sind doctor` limits that they reach, and the command, one argument to a line. **Your files** says where `/data` of the nodes is on the host. - **The run page says what came of the run.** The browser draws the run as one timeline of its steps, nodes and image pulls, with the data rate of each pull. A `create cluster` that ended ok says that the cluster is ready for jobs and gives the first job commands. A run that failed says first what did not happen, which node ran out of which wait, and what the rollback did. After a timeout, **Try again with a 10m wait…** opens New cluster with the fields of the run. Activity has a **Result** column. - **One table for all clusters, one realm scope.** The Overview shows every cluster in one table, by realm, and says whether each cluster is ready for jobs, and if not, why. A realm switcher in the rail selects the realm of Clusters, Nodes, Mesh and DNS, Monitoring and Topology. The jump box reads verbs, such as `reboot worker-[1-3].dev` or `restart slurmd worker-4`, and shows the `sind` command of each entry. - **Set a flag once, for a shell or a CI job.** Five new variables stand in for flags and arguments. `SIND_CLUSTER` names the cluster of each command that names none, `SIND_OUTPUT` sets the `-o` of `get` and `doctor`, `SIND_VERBOSE` sets the log verbosity as a number (`2` is `-vv`), and `SIND_WAIT` and `SIND_PULL` set the `--wait` and `--pull` of `create cluster` and `create worker`. The command line wins over a variable, and a variable wins over the config file. The help of each flag names its variable, and the new docs page **Environment Variables** lists all `SIND_*` variables. ## Changes you can see - With `SIND_CLUSTER` set, `sind create cluster --config lab.yaml` creates the cluster that the variable names, not the `name` of the config, as `SIND_REALM` wins over its `realm`. To create the cluster of the config, give its name: `sind create cluster lab --config lab.yaml`. - A value that sind cannot use in `SIND_CLUSTER`, `SIND_OUTPUT`, `SIND_WAIT` or `SIND_PULL` stops the command with exit status 1, and the error names the variable. sind ignores a `SIND_VERBOSE` that is not a number, and says so in one line. - `SIND_OUTPUT=json` also prints the values of `get ssh-config`, the key commands and `get coredns-config` as JSON. Give them `-o human` where a script reads the value as it is. - A tool call of the MCP server that leaves out `wait` or `pull` takes `SIND_WAIT` and `SIND_PULL` of the server. `sind mcp <editor> enable` checks `--env SIND_CLUSTER=…` as it checks `SIND_REALM`. - sind-action v2.2.0 and older set `SIND_PULL` and `SIND_WAIT` for their create step, and sind now reads them: a `pull` input such as `no` stops the create, and a `SIND_CLUSTER` of the job renames the clusters of the action. Use sind-action v2.2.1 or later. - When sind creates the mesh, it pulls a missing image of the DNS server or the SSH relay, or each with `--pull`, with `docker pull` before it creates the container. The progress shows the bytes and data rate of these pulls under `mesh`, as it does for the node images. While the images pull, the step `preflight` shows that it waits for them (`images`). - In the event log (`--progress-log`), the target of a pull says what the pull does: `size estimated`, `extracting` or `up to date`. - `sind get monitoring` has a TYPE column that says what the port of each service serves: `web UI`, `web UI + API` or `API`. Its JSON gives the same as `interface`. Loki serves an API only, so the output says to read its data with Explore in Grafana. - sind ui: - New cluster opens at `/clusters/new`. Links to `/dialogs/create-cluster` go there. - The realm switcher replaces the realm select of the top bar and the realm tabs of Clusters and Nodes, and sind ui keeps its choice. `?realm=` on Overview and Activity filters only that page. - The task dock is a strip below the page, and **Commands** in the top bar lists the commands. The cards at the bottom right are gone. Back in the browser closes a dialog. - The timeline of the run page shows the nodes and the image pulls. The node tiles, **Transfers** and **Other steps** are gone. Click a bar to zoom to its step. - Runs say `stopped` instead of `canceled`. - Delete workers asks for the name of the worker, or the number of workers, not for the name of the cluster. A delete that removes a data or home volume names each volume in a box that you must tick. - Delete clusters and Delete realm show what goes and what stays for each cluster. The red Delete buttons of cluster and realm rows move into a ⋯ menu. - **Connect a container** lists the containers that can connect. It is on Mesh and DNS, and in the ⋯ menu of a realm on the Overview. - The Power dialog, opened for an action and nodes, is a short confirmation. Add workers compares the memory of the nodes with that of the host. - Every dialog keeps its footer in view. **Shell** on the Nodes tab is **Copy ssh**. - Monitoring has a **Serves** column. Loki has no web UI, so its row has **Explore in Grafana** in place of **Open**. - sind ui runs its commands without the `SIND_*` variables that stand in for flags. The commands that it shows leave out a `--wait` of `5m` and a `--pull` that is off, so a copy takes the variables of your shell. Delete cluster and Delete clusters name each cluster, `default` too, Delete workers names the cluster of its workers, and **Copy script** of New cluster names the cluster, so that a copy does not act on the `SIND_CLUSTER` of your shell. ## Fixes - The share of an image pull no longer drops for a moment when docker gives the size of one more layer. - The event log writes the newest amount of a pull that pauses. Before, it showed an older amount until the next event. - sind ui: - Monitoring counted drained and draining nodes as up. Its column is now **Take jobs**, with the nodes that are down and those in drain beside it. - The Disconnect link of Mesh and DNS opened the dialog without its container. - A box that stays across previews, such as **Create anyway**, sent its state from before the click, so from the second click on, the button did not agree with the box. - The **Stop…** question closed while the run wrote progress. - Add workers lost its command while a field was wrong. It now also takes memory sizes such as `2 GB` or `512 MiB`. - On a phone, the DNS filter of Mesh and DNS hid no rows, and the Partitions table of the Slurm tab cut off columns. - Hidden labels made pages such as Mesh and DNS scroll past their end. The `recommended` and `default` chips were 44 px tall on touch screens. - `sind ui --demo` keeps its logs, Slurm states and worker sizes in line with its clusters. ## Library API - New: `cluster.Connectable`, which returns the containers that can connect with what `docker ps` says of them; `cluster.ResolveCluster`, which returns `SIND_CLUSTER`, else the name of a config, else `default`; `Error`, `StartedAt` and `FinishedAt` in `docker.ContainerInfo`, and `Status` in `docker.ContainerListEntry`; `docker.PullEstimated`, `PullExtracting` and `PullUpToDate`, the messages of a pull; `doctor.InotifyNodes` and `slurm.PartitionAll`; `observability.Interface` and `Service.Interface`, which say what the port of a monitoring service serves, and `Interface` in `cluster.MonitoringService`. - `mesh.Manager` pulls the image of a container that it creates with `docker pull`, when the daemon does not have it or with `Pull`. It no longer passes `--pull always` to `docker create`. ## Maintenance - go-clikit v0.11.0. - The code of sind ui is about 850 lines smaller. A data race in a unit test of the mesh is fixed. The full list is GitHub's generated changelog (`v0.15.0...v0.16.0`).
## Highlights - **A smoother run page in `sind ui`.** The timeline and the bars of a run move smoothly, and the gridlines move with the axis labels. A step that ended stays open for a moment and then folds away. A step that takes long shows once it has run for a second, as the terminal does, so `mesh` no longer reads "No steps yet" while its image pulls. A pull that waits for docker shows as a transfer, not as a node. ## Changes you can see - `sind ui` prints its URL and no longer opens a browser. Pass `--open` to open it. The hidden `--no-open` is still accepted and does nothing, so scripts that pass it keep working. ## Fixes - Image pulls show their bytes and data rate also when a small layer completes first, and when docker draws a progress bar before the bytes. Before, such a pull counted layers and showed no rate. - The bars of a step are thick and those of its targets thin; before, a step with targets had a thin bar. - The labels and gridlines of the timeline follow the scale while a step waits. The full list is GitHub's generated changelog (`v0.14.0...v0.15.0`).
## Highlights - **Image pulls show bytes and a data rate.** `docker pull` runs on a pseudo-terminal, so sind counts the bytes of a pull and the share never goes back. The run page of `sind ui` shows `206 MB / 412 MB · 114 MB/s`; the CLI progress tree shows the same. Without a pseudo-terminal the pull falls back to layers. ## Fixes - The steps of a run in `sind ui` stay open while they run. Before, every update closed them. - `sind ui` logs the warnings of sind's packages as structured records at warn level. Before, bare lines such as `Warning: listing the nodes without their IPs: ...` and `Error response from daemon: ...` mixed into its log. - A container that is gone when `sind get nodes` or `sind ui` lists nodes (a cluster being deleted) is no longer a warning. It shows at debug level with `-vv`. - The volumes and mounts table of `sind ui` has room for its columns. ## Maintenance - Grafana Alloy v1.21.2. - The video tooling resolves zod 4.6.7 (Dependabot alert for a zod memory exhaustion advisory). The sind binary does not change. - The docs workflow no longer builds the Geekdoc theme. The bake metadata of the image build is read from its file. The full list is GitHub's generated changelog (`v0.13.0...v0.14.0`).
## Highlights - **sind ui, a local web UI.** `sind ui` serves a web UI on 127.0.0.1 and opens it in your browser. It shows the realms, clusters, nodes, networks, the mesh, the monitoring stack, the host checks and the runs of sind commands, and updates live. Its dialogs create clusters (with users, Slurm accounts, Slurm config, CVMFS and Edit YAML), add and delete workers, change power, connect containers and delete realms. Each dialog shows the exact `sind` command it runs, and long commands show their progress step by step and node by node, also when you start them in a terminal. Only your user can open it. `--demo` shows made-up clusters without Docker. - **Connect containers from outside sind.** `sind connect container` and `sind disconnect container` attach containers such as kind nodes to a realm's mesh and every cluster network, and clusters created later connect to them too. `sind get coredns-config` prints the CoreDNS server block for the realm, `sind delete realm` removes everything sind made for a realm, and deletes detach outside containers instead of failing. A new guide connects kind to sind. - **Docs for the CLI and the web UI.** Every task page shows its steps for the CLI or the web UI, with screenshots, and `sind help TOPIC` explains the words and tasks of sind. The docs site moves to the Hextra theme and opens with a narrated overview video. ## Changes you can see - Commands that change something append their progress events to `$XDG_STATE_HOME/sind/activity.jsonl` by default (mode 0600, rotated at 8 MiB). An empty `--progress-log` or `SIND_PROGRESS_LOG` writes no log. - `delete cluster`, `delete worker`, `connect container` and `disconnect container` show progress steps. - `sind doctor` prints the fixes after the list of checks, each fix once. `-o json`, the status words and the exit status do not change. - Config errors name the file, line and key path, and report every error at once. An explicit `uid: 0` or `gid: 0` is rejected; YAML merge keys work. - Docker, `--wait` timeout and flag value errors read the same in every command. An empty `--config`, `--image`, `--memory` or `--tmp-size` is a usage error (exit 2). - `logs --tail`, a TTY for `exec`, `power off` as an alias of `shutdown`, and `!` for advisory `doctor` warnings. - The MCP tools `create`, `delete` and `power` run to completion or roll back when a call is cancelled. ## Breaking changes - `pkg/doctor.Run` returns go-clikit's `doctor.Check`; sind's own `Check` and `Status` types are removed. ## Fixes - The cgroup probe of `doctor` and `create` runs again when `docker run` loses its output, instead of reporting cgroup v1. ## Maintenance - Slurm 26.05.5, Open MPI 5.0.11, CoreDNS 1.15.0 and newer Alloy, Prometheus, Loki and Grafana images; a weekly workflow reports pending image updates. - Go toolchain 1.27.3 (GO-2026-6809); go-clikit v0.10.0 for the command tree, progress, doctor, file writes and the web UI's server; action bumps. The full list is GitHub's generated changelog (`v0.12.0...v0.13.0`).
## Highlights - **Monitoring stack (opt-in).** `monitoring: true` in the cluster config, or `sind create cluster --monitoring`, collects a managed cluster's Slurm metrics, the nodes' resource use and their journals in a per-realm Prometheus, Loki and Grafana stack (Grafana Alloy collects), with dashboards for clusters, nodes, services, users and logs. It needs Slurm 26.05. `sind get monitoring` shows the stack; `sind doctor` and `power` cover its containers. - **Live progress.** `create`, `delete` and `power` draw a live tree of their steps on a terminal. `--progress` / `SIND_PROGRESS` pick tree, counter, plain lines or none; `--progress-log` / `SIND_PROGRESS_LOG` write a JSON event log. Nothing changes where stderr is not a terminal. - **Richer node arguments.** Node sets are parsed by go-nodeset: steps (`worker-[0-6/2]`), several numbers per name, and the operators `!`, `&`, `^`. ## Breaking changes - The Go package `github.com/GSI-HPC/sind/pkg/nodeset` is removed; use `github.com/GSI-HPC/go-nodeset`. - Node arguments follow go-nodeset: zero padding is not part of a node's identity (`worker-1` and `worker-01` are one node), whitespace is a union, and nodes come in go-nodeset's order. An expression whose names differ only in the padding of their cluster is a usage error. ## Fixes - `--wait` names the probe that was still failing when it runs out. - The managed MariaDB's error log goes to the journal. ## Maintenance - Go toolchain 1.27.2; golang.org/x/sync 0.24.0; CI pulls Docker Hub images from mirror.gcr.io; artifact action bumps. The full list is GitHub's generated changelog (`v0.11.0...v0.12.0`).
## Highlights - **Job accounting:** a new `db` node runs MariaDB and slurmdbd, so `sacct` and `sacctmgr` work as on a production cluster. sind writes `slurmdbd.conf`, and the new `slurm.slurmdbd` section extends it. See [node definitions](https://gsi-hpc.github.io/sind/configuration/node-definitions/#database-node). (#43) - **Users, Slurm accounts and identity modes:** `users`, `groups` and `accounts` in the cluster config create Linux users with a shared `/home`, and Slurm accounts with associations, limits, coordinators and admin levels. `identity` mirrors how a site resolves users: `local` (the default), `nssSlurm`, or `clientIds`, which uses `auth/slurm` and `sackd` instead of munge. `sind ssh USER@NODE` and `--user` on `enter` and `exec` run as a cluster user. See the [users and identity guide](https://gsi-hpc.github.io/sind/guides/users/). (#89) - **REST API:** a new `api` node runs slurmrestd with JWT authentication, on the Slurm 26.05 images. `sind get auth-key --type jwt` prints the key that signs the tokens. See the [REST API guide](https://gsi-hpc.github.io/sind/guides/rest-api/). (#99) - **CVMFS:** `storage.cvmfs: true` mounts `/cvmfs` read-only on every node, also on workers added later, from a `cvmfs` Docker volume plugin or the Docker host's `/cvmfs`. See the [CVMFS guide](https://gsi-hpc.github.io/sind/guides/cvmfs/). (#88) - **A time limit for create:** `sind create cluster` and `sind create worker` take `--wait` (default `5m`, `0` for no limit), counted from when each node's container starts, so image pulls do not count. A failed munge or Slurm unit ends the wait at once and shows its journal. An expired wait rolls back and exits 1. (#94) - **Shared Docker daemons:** the commands that change a realm also lock it on the Docker daemon (a `<realm>-lock` network), so clients that share a daemon wait for each other instead of corrupting the realm. A waiting command names the holder. A shared realm is still not isolated: `sind delete cluster --all` deletes the other clients' clusters too, so give independent CI jobs a realm each. A lock left by a command killed on another host or in another container stays until you remove it; after a minute, sind prints the `docker network rm` command. (#96) - **Recovery after a reboot:** `sind power on`, `reboot` and `cycle` start a stopped mesh before the nodes and refresh their DNS records. New meshes pin their DNS address. (#94, #96) - **Exit statuses:** usage errors exit 2, and `ssh`, `exec`, `enter` and `logs` exit with the status of the program they run. See [Exit Status](https://gsi-hpc.github.io/sind/usage/exit-status/). (#87) - **`sind doctor -o json`**, and new checks: `Docker daemon` (rootful, without userns-remap), `Docker host` and `inotify`. (#86, #94, #96) ## Behaviour changes - **`sind get munge-key` is removed:** use `sind get auth-key --type munge`, which prints the same key. Without `--type`, `get auth-key` prints the key of the cluster's `AuthType`. Its `-o json` adds a `type` field. (#89, #99) - **Exit statuses:** usage errors (an unknown command or flag, a bad value, the wrong number of arguments) exit 2 instead of 1. An invalid `--realm` now fails every command. `ssh`, `exec`, `enter` and `logs` return the program's status and print no error line of their own. (#87, #94) - **`sind ssh` needs `--` before a remote command:** `sind ssh worker-0 -- hostname`. Without it, the command is a usage error. (#94) - **`sind doctor` writes its report to stdout.** Only the final `checks failed:` line goes to stderr. (#86) - **Table and JSON output:** `sind get clusters` shows `NODES (S/C/D/A/W)` instead of `NODES (S/C/W)`, and its JSON adds `dbs` and `apis`. In `sind get cluster -o json`, `dns_ok` now means the DNS container is running, not only that it exists. `ssh_ok` and `ssh_name` are new fields. (#43, #94, #99) - **Unsupported Docker hosts are refused up front:** `sind create cluster` refuses a rootless daemon, one with userns-remap, one on cgroup v1, and a Docker Engine older than 28.0 before it pulls or creates anything. `create cluster` and `create worker` also check `nsdelegate` on the daemon's kernel. (#94, #96, #101) - **Create gives up after 5 minutes by default.** Pass a longer `--wait` on slow hosts, or `--wait 0` for no limit. (#94) - **`SIND_REALM` ranks above the config file's `realm`.** (#94) - **Release binaries default to `ghcr.io/gsi-hpc/sind-node:v0.11.0`** instead of `:latest`, and the mesh DNS runs `coredns/coredns:1.14.7`. Builds from source keep `:latest`. (#94) - **A host data directory must exist** (`--data`, `storage.dataStorage.hostPath`). Before, Docker silently created a missing one, owned by root. (#94) - **Stricter config validation.** These are now refused: - the cluster name `ssh`, also as a command argument: a cluster of that name made by v0.10.0 can only be listed with `sind get clusters` and removed with `sind delete cluster --all`; - `memory` and `tmpSize` values Docker does not take, and a negative `cpus`; - unknown or valueless `securityOpt` entries; - a `storage.dataStorage.mountPath` with a comma, or at a path where the nodes already have a mount; - `slurm.slurmdbd` settings of the parameters sind manages (`DbdHost`, `SlurmUser`, `StorageType`, `StorageHost`, `StorageLoc`, `StorageUser`). (#94, #101) - **Node containers start with sind's own entrypoint**, which runs `/sbin/init`, instead of the image's `ENTRYPOINT` and `CMD`. Custom images need `/bin/sh` and systemd at `/sbin/init`. (#43) - **Nodes get no swap, a `/dev/shm` of half their memory, and a 64m `/run`.** (#94) - **The default `TaskPlugin` is `task/cgroup`** instead of `task/cgroup,task/affinity`. When `slurm.main` enables `task/affinity`, managed workers get `CAP_SYS_NICE`. (#89, #94) - **Jobs without `--mem` get a per-CPU share of memory** (`DefMemPerCPU`, the smallest memory per CPU among the managed workers) instead of the whole node. (#94) - **`sind create worker` copies the newest worker:** the image (by ID), CPUs, memory, `/tmp` size, capabilities, devices and security options you do not give come from the cluster's newest worker that is managed like the new ones. A seccomp profile is not inherited; pass it again with `--security-opt seccomp=FILE`. A list flag given empty (`--device=`) clears the inherited list. `--pull` needs `--image`, and with `--image`, managed workers need the cluster's Slurm version. (#94, #103) - **`sind delete worker` needs a running controller** to delete managed workers. (#94) - **`sind mcp stream` requires a bearer token:** `SIND_MCP_TOKEN`, or else a new token at every start, written to `mcp-token` in sind's state directory (by default `~/.local/state/sind/mcp-token`). Set `SIND_MCP_TOKEN` to keep one token across restarts. (#94) - **Slurm's libraries and plugins moved to `/usr/lib64`** in the node images. Update absolute plugin paths in `slurm.main`, `plugstack` and images built on sind-node. (#89) ## Deprecations - **Reading the configuration from stdin without `--config -`** (a pipe or a redirected file) still works, with a warning. An empty stdin now creates the default cluster. A later release removes the implicit read. Pass `--config -`, or redirect stdin from `/dev/null` when sind runs with an unrelated pipe. (#94) ## Other changes - `sind create cluster --config -` reads the configuration from stdin. (#94) - `sind get cluster` lists the SSH relay under `MESH SERVICES`, and the new mounts and services. A cluster that is not found names the realms that have one by that name. (#43, #88, #89, #94, #99) - Images the daemon does not have are pulled once before the first node is created. `--pull` pulls each distinct image once. (#94, #101) - Node setup takes one `docker exec` per node. Create refuses nodes that would not fit on a Docker bridge network (1,023 containers). (#96) - `sind delete cluster --all` deletes in parallel, keeps going past failures, and also finds clusters made before v0.9.0. Power commands act on nodes in parallel and report every failure. (#94) - `slurm.main` can set `ProctrackType`, `TaskPlugin`, `MpiDefault` and `ReturnToService`. Its `NodeName=DEFAULT` and `PartitionName=DEFAULT` lines now apply to sind's nodes. (#94) - MCP server: - `sind --realm NAME mcp start` serves realm NAME. - The create tools are marked destructive. - `wait` and `user` are new flags. - In `sind_create_worker`, an empty array clears an inherited list. - The `mcp` commands refuse extra arguments. - The Go SDK is now v1.8.0. (#85, #89, #94, #101, #103) - `sind doctor` says why Docker is unreachable and how to fix it. `Docker host` finds the daemon the way the docker CLI does (`DOCKER_HOST`, `DOCKER_CONTEXT`). (#94, #96) ## Fixes - Cgroup controllers are delegated on every node. Before, a startup race could leave them disabled. (#43) - Short host names such as `controller` and `worker-N` resolve within the node's own cluster when a realm has several clusters. (#94) - A failed create no longer removes a mesh that other clusters use, and the mesh DNS reloads in place instead of restarting. (#94) - `sind-nodes.conf` stays in step with the worker containers when `sind create worker` or `sind delete worker` fails. (#94, #101) - Delete and rollback try every container when one removal fails. (#101) - The exported `ssh_config` no longer passes `%h` to `ProxyCommand`, the CVE-2023-51385 pattern. (#94) - Secret files are written with their final mode. `get` tables escape control characters. (#94) - `memory` values such as `2gb`, `2GiB` or `1.5g` give the right `RealMemory`. (#94) - `sind ssh` allocates a terminal only when stdout is one too. (#94) ## Node images - Slurm 26.05.4 and 25.11.8 on linux/amd64 and linux/arm64, unchanged. - This release publishes `ghcr.io/gsi-hpc/sind-node:v0.11.0` (Slurm 26.05.4, the default image of these binaries), `v0.11.0-26.05` and `v0.11.0-25.11`. Images are rebuilt weekly with current Rocky Linux packages, and carry build provenance attestations. (#94) - New in the images: - nss_slurm, `auth/slurm` and libjwt for the identity modes; - slurmrestd in the 26.05 images; - an SSH host key of its own for each container; - a capped journal and smaller layers. (#89, #94, #99) ## Upgrading from v0.10.0 - **Existing clusters keep working:** `get`, `delete`, `exec`, `enter`, `ssh`, `power` and `get auth-key` all work on them. They keep their v0.10.0 container settings and `slurm.conf` until you create them again, so the cgroup-delegation and short-host-name fixes reach them only then. `sind create worker` on such a cluster adds workers with the new container settings, and with `CAP_SYS_NICE`, because the old `slurm.conf` enables `task/affinity`. - **An existing mesh** keeps its unpinned DNS address and its images until the realm's last cluster is deleted. sind warns when the address changes. - **Configs on moving tags** such as `:latest` or `:26.05` need `--pull` once for `nssSlurm`, `clientIds` or an api node. - **Do not run v0.10.0 and v0.11.0 against one realm of a shared daemon:** only v0.11.0 takes the daemon lock. - **If you stay on v0.10.0:** it keeps defaulting to `sind-node:latest`, which now carries this release's image and is rebuilt weekly. To keep the image you have, set `defaults.image` to it by digest. - **The exported `ssh_config`** is rewritten by the next create or delete in the realm. Until then, the v0.10.0 file still passes `%h` to `ProxyCommand`. If your `~/.ssh/config` includes it, run one of those commands soon after the upgrade. ## Library API - `cluster.GetMungeKey` is removed. Use `cluster.GetAuthKey(ctx, client, realm, name, cluster.AuthMunge)`. - `cluster.WorkerAdd` fills the `WorkerAddOptions` fields left at their zero value from the newest worker: a nil list inherits, an empty one means none. `Pull` needs `Image`. - `cluster.Create` requires `ApplyDefaults` and a valid config. The mutating calls (`Create`, `Delete`, `DeleteAll`, `WorkerAdd`, `WorkerRemove`, the power-on functions) expect the caller to hold `state.LockRealm` from the new `pkg/state`. Set `LockOptions.Client` for the daemon lock. - Changed signatures: - `cluster.BuildContainerExecArgs` takes a user after the container (`""` keeps the old behaviour); - `slurm.GenerateSlurmConf` takes a `slurm.ConfOptions`, and `cluster.NodeRunConfigs` the CVMFS storage type; - `cluster.PowerOn`, `PowerReboot` and `PowerCycle` take a `*mesh.Manager` instead of a realm; - `cluster.GetNodeHealth` takes a `*docker.ContainerInfo` instead of a container name, and `cluster.GetMountPoints` a `[]*docker.ContainerInfo` instead of a `[]docker.ContainerListEntry`; - `slurm.GenerateNodesConf`, `slurm.AddNodesToConf`, `ssh.GenerateSSHConfig` and `monitor.Watcher.AddNodes` changed too; - `mesh.SSHImage` is now a function, and `config.DefaultImage` a variable. - The `pull` parameters are gone; pull with `docker.Client.PullImage`. - Removed: - `cluster.ValidateWorkerAdd`, `NextComputeIndex` and `CreateClusterNodes`: use `cluster.WorkerAdd` and `WorkerAddOptions.Check`; - `ssh.InjectPublicKey` and `ssh.CollectHostKey`: use `ssh.InjectKeyScript` and `ssh.HostKey`; - `mesh.Manager.EnsureDNS`, `EnsureSSH` and `EnsureSSHVolume`. ## sind-action No sind-action change is needed. Its `wait` input (v2.2.0 and later) now takes effect. With `wait` empty, sind's 5-minute default applies, where v0.10.0 waited without limit. The `realm` input now also wins over a `realm:` in the config file. ## Docs New guides: [Users and Identity](https://gsi-hpc.github.io/sind/guides/users/) (#89), [REST API](https://gsi-hpc.github.io/sind/guides/rest-api/) (#99) and [Using CVMFS](https://gsi-hpc.github.io/sind/guides/cvmfs/) (#88), and an [Exit Status](https://gsi-hpc.github.io/sind/usage/exit-status/) page (#87). The site also has a preview of the next release at https://gsi-hpc.github.io/sind/next/. (#92, #94) **Full Changelog**: v0.10.0...v0.11.0
PreviousNext