Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/vm-tests/full-setup.py
Author SHA1 Message Date
maia
912b2d9570 swarm-otel: a timer starts the receiver-socket check again while it is failed
swarm-otel-sockets probes once at activation. On a fresh swarm the
collector opens its sockets only after authelia answers, which is after
the operator unseals the store, so the probe failed and stayed failed
after ingest worked: the only red unit on the swarm.

swarm-otel-sockets-recheck.timer now starts it again each minute, and
only while it is failed (an ExecCondition on systemctl is-failed), with
a restart that does not block. The check itself gets no Restart: a
oneshot's start job stays pending through an automatic restart, so a
switch would wait on it for as long as the collector is down, and the
failed check is what the switch reports. full-setup waits for the check
to be active after the collector has recovered, and the module-eval case
pins the timer, the condition and the absence of a Restart.

Closes #6836
2026-11-24 16:41:04 +01:00
atlas
870a0a6697 swarmctl bao init: save bao's raw output before parsing, and accept null key lists 2026-11-24 15:38:31 +01:00
atlas
cd040afa0e swarmctl login: find the sso provider from the gateway's published metadata 2026-11-23 23:19:45 +01:00
maia
dad288d555 swarm-otel, swarm-grafana: a delivery unit fails on no value yet
The collector's and Grafana's OIDC delivery units exited 0 when the store
held no value, so systemd did not retry them. On a fresh swarm authelia's
mint writes the secret about 30 s after the first read, and only the
refresh timer, ten minutes on, read it again. Both units now exit 75, and
the store retry they already carry asks every 30 s until the mint lands.

Closes #6790
2026-11-23 12:43:37 +01:00
atlas
480855dfaf swarm-otel: scrape the authenticated targets only once the collector has its client secret
An empty secret file made the prometheus receiver request a token for each published target every scrape; authelia's per-address limit then refused every client behind that address. Without a secret the collector starts on the config minus those jobs. full-setup asserts the limiter never fired.
2026-11-23 12:28:12 +01:00
atlas
58236e1b7f default the host's swarmctl to the gateway; login takes a callback port 2026-11-22 15:01:14 +01:00
atlas
4a554fd6bf full-setup vm test: wait for the last created agent in the meta flake 2026-11-21 12:29:38 +01:00
atlas
a95fdc6281 full-setup vm test: a failed create also dumps the swarm queue's nats and auth units 2026-11-12 07:42:11 +01:00
atlas
c1c5fe9704 vm-tests: full-setup script lives in full-setup.py, build-time values in env, ruff in ci 2026-11-11 22:35:54 +01:00