"failed to connect to local tailscaled" on self-hosted runners
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 32/100
Direzione di ricerca
Non vengono indicati file del repository né test. Inizia riproducendo il workflow su un self-hosted runner usando la configurazione DinD di nimmis/ubuntu:latest, quindi esamina tailscaled.log e l’output dei comandi mostrati. Il lavoro è completato quando l’azione si connette correttamente senza l’errore locale di tailscaled.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Running my workflow on github's hosted runner works fine, but when I switch to self-hosted runners (using a DinD approach and ultimately running in a nimmis/ubuntu:latest container) I'm finding that the action fails (see GitHub workflow output):
sudo -E tailscaled --state=mem: ${ADDITIONAL_DAEMON_ARGS} 2>~/tailscaled.log &
# And check that tailscaled came up. The CLI will block for a bit waiting
# for it. And --json will make it exit with status 0 even if we're logged
# out (as we will be). Without --json it returns an error if we're not up.
sudo -E tailscale status --json >/dev/null
shell: bash --noprofile --norc -e -o pipefail {0}
env:
ADDITIONAL_DAEMON_ARGS:
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)
Error: Process completed with exit code 1.
I think the issue may have something to do with the CLI not blocking as expected, since as you can see in the image below with the timestamps, the entire thing is completed in seconds.
The only change I made to the nimmis/ubuntu:latest image was to run:
apt-get update
apt-get install -y sudo --fix-missing
since sudo was not installed by default since the only user is root.
Maybe some other error is being thrown by sudo -E tailscale status --json but it's being swallowed by the >/dev/null ?
EDIT: No, it's not redirecting stderr, only stdout... 🤔
- Lingua principale
- TypeScript
- Stelle
- 938
- Fork
- 137
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tailscale/github-action
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tailscale/github-action#283 · 1 commento · 1 reazione ·
-
fr
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
tailscale/github-action#317 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
tailscale/github-action#316 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
tailscale/github-action#315 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
tailscale/github-action#313 · 1 reazione ·
Tutte le issue di tailscale/github-action
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
bcgov/bc-wallet-mobile#4761 · 1 commento ·
-
external-issue to-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
area-deployment area-integrations triage:bot-seen
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100