Watch
0
0
Fork
You've already forked hyperhive
0

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
This commit is contained in:
maia 2026-11-23 12:43:37 +01:00
commit dad288d555

View file

@ -98,6 +98,9 @@
token=""
fetch public-key key
fetch pull-token token
# Done, not retried: a swarm with no cache has no facts to give, so a hive
# without them is a supported state and not a wait. The refresh timer reads
# the leaves again.
if [ "$missing" = 1 ]; then
echo "the swarm has not given this hive its cache facts yet; $dir stays as it is."
exit 0