"failed to connect to local tailscaled" on self-hosted runners
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 32/100
Hướng nghiên cứu
Không có tệp repository hoặc bài kiểm thử nào được nêu tên. Trước tiên, hãy tái hiện workflow trên một self-hosted runner bằng thiết lập DinD của nimmis/ubuntu:latest, sau đó kiểm tra tailscaled.log và đầu ra của các lệnh được hiển thị. Được xem là hoàn tất khi action kết nối thành công mà không có lỗi tailscaled cục bộ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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... 🤔
- Ngôn ngữ chính
- TypeScript
- Star
- 938
- Fork
- 137
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tailscale/github-action
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
tailscale/github-action#283 · 1 bình luận · 1 reaction ·
-
fr
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
tailscale/github-action#317 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
tailscale/github-action#316 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
tailscale/github-action#315 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
tailscale/github-action#313 · 1 reaction ·
Tất cả issue của tailscale/github-action
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
copse-dev/agent-pane#2953 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Đang mởbug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Client support matrix inclusion Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
calcite-components needs triage refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Esri/calcite-design-system#15203 ·