siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.96k stars 565 forks source link

Error running Containerd(ext-tailscale), going to restart forever: task "ext-tailscale" failed: exit code 1 #8703

Open ajaykumar4 opened 7 months ago

ajaykumar4 commented 7 months ago

Bug Report

Description

Error running Containerd(ext-tailscale), going to restart forever: task "ext-tailscale" failed: exit code 1 after apply patch with Auth_key

Logs

 user: warning: [2024-05-04T00:15:09.502698224Z]: [talos] service[ext-tailscale](Running): Started task ext-tailscale (PID 6661) for container ext-tailscale
 user: warning: [2024-05-04T00:16:09.710620224Z]: [talos] service[ext-tailscale](Waiting): Error running Containerd(ext-tailscale), going to restart forever: task "ext-tailscale" failed: exit code 1
 user: warning: [2024-05-04T00:16:14.997931224Z]: [talos] service[ext-tailscale](Running): Started task ext-tailscale (PID 6803) for container ext-tailscale
 user: warning: [2024-05-04T00:17:15.249305224Z]: [talos] service[ext-tailscale](Waiting): Error running Containerd(ext-tailscale), going to restart forever: task "ext-tailscale" failed: exit code 1
 user: warning: [2024-05-04T00:17:20.498528224Z]: [talos] service[ext-tailscale](Running): Started task ext-tailscale (PID 6911) for container ext-tailscale
 user: warning: [2024-05-04T00:18:20.724621224Z]: [talos] service[ext-tailscale](Waiting): Error running Containerd(ext-tailscale), going to restart forever: task "ext-tailscale" failed: exit code 1

Environment

server on raspberry pi and jetson nano

frezbo commented 7 months ago

Please upload talosctl support zip and meanwhile check talosctl logs ext-tailscale

pcn commented 4 months ago

I'm not person who opened the ticket, but I had a similar dead end - seeing that I can check the logs led me to the fact that I had used quotes in - TS_HOSTNAME="something-with-quotes" and that was b0rken. Maybe their problem was something similar. I do think the extensions could really use documentation on how to find the logs, since the current installation instructions don't actually seem to be the recommended way to install...

cdekort commented 3 months ago

Experiencing the same issue on an x86 device v1.7.6

ram4444 commented 3 months ago

Experiencing the same issue on an x86 device v1.7.6

You tailscale key may be a one-time. Please check in the admin console and generate a new one which can be resused

chirino commented 1 month ago

I'm seeing the same thing. Running:

talosctl logs ext-tailscale gives a clue:

skl-kube-01: boot: 2024/11/01 11:51:03 Running 'tailscale up'
skl-kube-01: Post "https://api.tailscale.com/api/v2/tailnet/-/keys": Post "https://api.tailscale.com/api/v2/oauth/token": tls: failed to verify certificate: x509: certificate signed by unknown authority
skl-kube-01: boot: 2024/11/01 11:51:04 failed to auth tailscale: failed to auth tailscale: tailscale up failed: exit status 1
s

maybe the tailscale container is missing the system ca certs?

Oh and I'm running against: https://factory.talos.dev/?arch=amd64&board=undefined&cmdline-set=true&extensions=-&extensions=siderolabs%2Ftailscale&platform=metal&target=metal&version=1.8.2