"failed to connect to local tailscaled" on self-hosted runners
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 32/100
調査の方向性
リポジトリのファイルやテストは指定されていません。まず、nimmis/ubuntu:latest の DinD セットアップを使用して self-hosted runner 上でワークフローを再現し、その後 tailscaled.log と、示されているコマンドの出力を調査してください。Action がローカルの tailscaled エラーなしに正常に接続できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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... 🤔
- 主要言語
- TypeScript
- スター
- 946
- フォーク
- 137
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tailscale/github-action のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tailscale/github-action#283 · コメント 1 件 · リアクション 1 件 ·
-
fr
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
tailscale/github-action#317 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
tailscale/github-action#316 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
tailscale/github-action#315 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
tailscale/github-action#313 · リアクション 1 件 ·
tailscale/github-action の issue をすべて見る
似ている issue
-
enhancement providers-api ui-dashboard
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
external-issue to-triage
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
homarr-labs/homarr#6976 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信