You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tstest/integration
Andrew Lytvynov c679aaba32
cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883)
With the introduction of node sealing, store.New fails in some cases due
to the TPM device being reset or unavailable. Currently it results in
tailscaled crashing at startup, which is not obvious to the user until
they check the logs.

Instead of crashing tailscaled at startup, start with an in-memory store
with a health warning about state initialization and a link to (future)
docs on what to do. When this health message is set, also block any
login attempts to avoid masking the problem with an ephemeral node
registration.

Updates #15830
Updates #17654

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2 weeks ago
..
nat wgengine/magicsock: use learned DERP route as send path of last resort 9 months ago
testcontrol cmd/tailscale/cli: only print authURLs and device approval URLs once 2 months ago
vms all: rename variables with lowercase-l/uppercase-I 2 weeks ago
capmap_test.go tstest/integration/testcontrol: include peer CapMaps in MapResponses 5 months ago
gen_deps.go all: update tools that manage copyright headers 3 years ago
integration.go tstest/integration: log all the output printed by `tailscale up` 2 months ago
integration_test.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 weeks ago
tailscaled_deps_test_darwin.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 weeks ago
tailscaled_deps_test_freebsd.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 weeks ago
tailscaled_deps_test_linux.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 weeks ago
tailscaled_deps_test_openbsd.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 weeks ago
tailscaled_deps_test_windows.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 weeks ago