Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ docstring gives: it is a record, not a claim about now.

## 2026-11-28

- **`trinity`: `converge-sensitive` refused twice because a secrets edit was
in progress in its deployment checkout.** At 05:26 UTC on 2026-11-27 and
05:30 on 2026-11-28 the only dirty file was `secrets/sensitive.sops.yaml`.
Both were Glance edits made with `make secrets-edit` in `~/code/Gerrrt/HomeLab`
that were waiting for their pull requests (#1779, #1796). Each cleared on the
next run, after the merge and a pull, but `ScheduledJobFailed` fired for
each. `converge-the-host.md` (*The tree is dirty*) and
`stacks/sensitive/README.md` now say to edit secrets from a worktree. Running
`sops -d` from outside the tree confirmed that the age key does not depend
on which tree it runs in.

- **`network.md`'s LAN row said the switch LAN reaches "Everything"; it reaches
the gateway's DNS, NTP and syslog.** The cell went from "Nothing" to
"Everything" on 2026-09-01 (#104), when *Default allow LAN to any* still
Expand Down
18 changes: 18 additions & 0 deletions docs/runbooks/converge-the-host.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,24 @@ To keep it, get it into the repository the normal way — a branch, a pull
request, CI. To discard it, `git checkout -- .` in that directory, and delete
any untracked files the status listed.

On `trinity` the usual dirty file is `secrets/sensitive.sops.yaml`, because
`make secrets-edit STACK=sensitive` was run in the deployment checkout and the
change is waiting for its pull request. `converge-sensitive` refused like this
at about 05:30 UTC on 2026-11-27 and again on 2026-11-28, both times during a
Glance secrets edit (#1779, #1796). Each one cleared within the hour, once the
pull request merged and the checkout was pulled back onto `main`, but
`ScheduledJobFailed` fired for each. Edit secrets from a worktree instead. The
age key is per user rather than per tree, so `make secrets-edit` works the same
from one:

```bash
git -C ~/code/Gerrrt/HomeLab worktree add -b gerrrt/some-secret ../secret-edit origin/main
cd ~/code/Gerrrt/secret-edit && make secrets-edit STACK=sensitive
```

Commit, push and merge from the worktree. Converge then deploys the merged
secret on its next run, and the deployment checkout never goes dirty.

### The tree is on another branch

```text
Expand Down
7 changes: 6 additions & 1 deletion stacks/sensitive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,12 @@ export/ untracked: where document_exporter writes. Likewise

Secrets are `secrets/sensitive.sops.yaml`, encrypted to this stack's own rule
in `.sops.yaml` — `trinity`'s key opens this file and nothing else of the
estate's (`secrets/sensitive.example.yaml` says why, and lists every key). The one file under
estate's (`secrets/sensitive.example.yaml` says why, and lists every key).
Run `make secrets-edit STACK=sensitive` from a `git worktree`, not from the
deployment checkout. An edit waiting for its pull request leaves that checkout
dirty, and the hourly `converge-sensitive` refuses until it is clean
([`converge-the-host.md`](../../docs/runbooks/converge-the-host.md), *The tree
is dirty*). The one file under
`certificates/` this stack reads is `tier-ca.pem`, the tier's root
certificate, written by `make tier-ca ARGS="--install …"` from the bundle
minted on the monitoring host; every leaf is obtained from step-ca at run
Expand Down