tiup needs to access Internet for normal operations
Open
Nobody has claimed this yet.
category/usability
type/bug
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
tiup cluster destroy test-cluster
-
What did you expect to see?
It return success. -
What did you see instead?
> tiup cluster destroy test-cluster
Failed to start component `cluster`
Error: fetch /3.root.json from mirror(https://tiup-mirrors.pingcap.com) failed: download from https://tiup-mirrors.pingcap.com/3.root.json failed: Get https://tiup-mirrors.pingcap.com/3.root.json: dial tcp: lookup tiup-mirrors.pingcap.com on ip:53: server misbehaving
- What version of TiUP are you using (
tiup --version)?
> tiup --version
v1.3.7 tiup
Go Version: go1.13
Git Branch: release-1.3
GitHash: 37c95bb
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing tiup cluster destroy test-cluster with TiUP v1.3.7 and inspect the component startup path around the failed /3.root.json mirror request. Trace why the cluster command fetches https://tiup-mirrors.pingcap.com during this operation; done means the reported destroy command returns success under the intended network conditions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100