pingcap / pingcap/tiup

tiup needs to access Internet for normal operations

Open
#1,324 4 comments 1 reaction 0 assignees View on GitHub

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!

  1. What did you do?
tiup cluster destroy test-cluster
  1. What did you expect to see?
    It return success.

  2. 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
  1. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.