Tailscale routes missing in ephemeral runners

オープン
#266 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions
領域
ci-cd, networking

調査の方向性

まず、示されている Tailscale セットアップでワークフローを再現し、失敗する runner と動作する runner で ip route show table all | grep tailscale を比較します。次に、ルートの初期化に関する action のセットアップフローを確認し、tailscale down && tailscale up を実行せずに、期待されるルートが存在し、curl が成功することを検証します。

索引モデルが issue の本文から書いたものです。

説明

Hello team!

We are using the action to run a simple curl request in our tailnet, and it has been failing randomly. After some digging, we noticed the following:

  • Tailscale ping does work (for the DN and IP requested). We tried manually, and through the the action ping: <dn>,<ip>
  • Once a runner is failing, it does not recover by itself (even after 10 minutes). Curl still fails after that.
  • We noticed some routes are missing ip route show table all |grep tailscale only shows the following:
fe80::/64 dev tailscale0 proto kernel metric 256 pref medium
local fe80::ba:54d9:b084:82e9 dev tailscale0 table local proto kernel metric 0 pref medium
multicast ff00::/8 dev tailscale0 table local proto kernel metric 256 pref medium

While on a working runner, we do have the desired route showing.

Hotfix: a simple tailscale down && tailscale up in the action does solve the issue.

Current action is as follow:

      - name: Setup Tailscale
        uses: tailscale/github-action@53acf823325fe9ca47f4cdaa951f90b4b0de5bb9 # v4.1.1
        with:
          version: TAILSCALE_VERSION
          oauth-client-id: <some-client-id>
          oauth-secret: <some-client-secret>
          tags: tag:<some-tag>
          ping: <some-internal-ips>,<some-internal-dn>

Thank you!
Jules

主要言語
TypeScript
スター
938
フォーク
137
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tailscale/github-action のほかの issue

tailscale/github-action の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。