You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi~ what's the tiup version you use?
We have introduce the command tiup mirror set in tiup v1.0.9, you can execute tiup mirror set /home/tidb/tidb-community-server-v4.0.0-linux-amd64 to replace the official mirror and after that you don't need to set the TIUP_MIRRORS again. (to use tiup mirror set, make sure that TIUP_MIRRORS is disabled)
And you can execute the command tiup mirror set https://tiup-mirrors.pingcap.com to set the official mirror if you want in the future.
v4版本,使用Tiup缩容tikv节点时,会连接外网导致失败
2020-06-18T08:41:35.841+0800 INFO Execute command finished {"code": 1, "error": "init config failed: 192.101.11.238:4000: fetch /timestamp.json from mirror(https://tiup-mirrors.pingcap.com/) failed: download from https://tiup-mirrors.pingcap.com/timestamp.json failed: Get https://tiup-mirrors.pingcap.com/timestamp.json: dial tcp: lookup tiup-mirrors.pingcap.com on [::1]:53: read udp [::1]:53941->[::1]:53: read: connection refused", "errorVerbose": "Get https://tiup-mirrors.pingcap.com/timestamp.json: dial tcp: lookup tiup-mirrors.pingcap.com on [::1]:53: read udp [::1]:53941->[::1]:53: read: connection refused\ndownload from https://tiup-mirrors.pingcap.com/timestamp.json failed\ngithub.com/pingcap/tiup/pkg/repository.(*httpMirror).download\n\tgithub.com/pingcap/tiup@/pkg/repository/mirror.go:219\ngithub.com/pingcap/tiup/pkg/repository.(*httpMirror).Fetch\n\tgithub.com/pingcap/tiup@/pkg/repository/mirror.go:256\ngithub.com/pingcap/tiup/pkg/repository.(*V1Repository).fetchBase\n\tgithub.com/pingcap/tiup@/pkg/repository/v1_repository.go:527\ngithub.com/pingcap/tiup/pkg/repository.(*V1Repository).fetchManifest\n\tgithub.com/pingcap/tiup@/pkg/repository/v1_repository.go:504\ngithub.com/pingcap/tiup/pkg/repository.(*V1Repository).fetchTimestamp\n\tgithub.com/pingcap/tiup@/pkg/repository/v1_repository.go:462\ngithub.com/pingcap/tiup/pkg/repository.(*V1Repository).updateLocalSnapshot\n\tgithub.com/pingcap/tiup@/pkg/repository/v1_repository.go:234\ngithub.com/pingcap/tiup/pkg/repository.(*V1Repository).ensureManifests\n\tgithub.com/pingcap/tiup@/pkg/repository/v1_repository.go:180\ngithub.com/pingcap/tiup/pkg/repository.(*V1Repository).FetchComponentManifest\n\tgithub.com/pingcap/tiup@/pkg/repository/v1_repository.go:624\ngithub.com/pingcap/tiup/pkg/repository.(*V1Repository).ComponentVersion\n\tgithub.com/pingcap/tiup@/pkg/repository/v1_repository.go:634\ngithub.com/pingcap/tiup/pkg/cluster/clusterutil.(*repositoryT).ComponentBinEntry\n\tgithub.com/pingcap/tiup@/pkg/cluster/clusterutil/cluster.go:91\ngithub.com/pingcap/tiup/pkg/cluster/meta.checkConfig\n\tgithub.com/pingcap/tiup@/pkg/cluster/meta/server_config.go:164\ngithub.com/pingcap/tiup/pkg/cluster/meta.(*TiDBInstance).InitConfig\n\tgithub.com/pingcap/tiup@/pkg/cluster/meta/logic.go:438\ngithub.com/pingcap/tiup/pkg/cluster/task.(*InitConfig).Execute\n\tgithub.com/pingcap/tiup@/pkg/cluster/task/init_config.go:46\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Serial).Execute\n\tgithub.com/pingcap/tiup@/pkg/cluster/task/task.go:183\ngithub.com/pingcap/tiup/pkg/cluster/task.(*Parallel).Execute.func1\n\tgithub.com/pingcap/tiup@/pkg/cluster/task/task.go:236\nruntime.goexit\n\truntime/asm_amd64.s:1357\nfetch /timestamp.json from mirror(https://tiup-mirrors.pingcap.com/) failed\ninit config failed: 192.101.11.238:4000"}
其实timestamp.json文件存在/home/tidb/tidb-community-server-v4.0.0-linux-amd64下
后来通过export TIUP_MIRRORS=/home/tidb/tidb-community-server-v4.0.0-linux-amd64
再次执行即可
这块希望把bug修复掉 不通过export就可以执行,官网文档就是直接运行
The text was updated successfully, but these errors were encountered: