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:
parent
480855dfaf
commit
dad288d555
1 changed files with 88 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue