tidb6.5.5 提示tikv-cdc Error: unknown component

【 TiDB 使用环境】生产环境
【 TiDB 版本】 v6.5.5
【复现路径】

tar xzvf tidb-community-server-v6.5.5-linux-amd64.tar.gz
tar xf tidb-community-toolkit-v6.5.5-linux-amd64.tar.gz
 ls -ld tidb-community-server-v6.5.5-linux-amd64 tidb-community-toolkit-v6.5.5-linux-amd64
drwxr-xr-x 3 tidb tidb 4096 Sep 21 12:02 tidb-community-server-v6.5.5-linux-amd64
drwxr-xr-x 3 tidb tidb 4096 Sep 21 12:07 tidb-community-toolkit-v6.5.5-linux-amd64
cd tidb-community-server-v6.5.5-linux-amd64/
 cp -rp keys ~/.tiup/
 tiup mirror merge ../tidb-community-toolkit-v6.5.5-linux-amd64
tiup mirror show
/soft/tidbt/tidb-community-server-v6.5.5-linux-amd64
ls -lth cdc-v6.5.5-linux-amd64.tar.gz 
-rw-rw-r-- 1 tidb tidb 64M Sep 28 16:19 cdc-v6.5.5-linux-amd64.tar.gz

【遇到的问题:问题现象及影响】

2023-09-28T16:20:17.431+0800	INFO	Please confirm your topology:
2023-09-28T16:20:17.432+0800	WARN	Attention:
2023-09-28T16:20:17.432+0800	WARN	    1. If the topology is not what you expected, check your yaml file.
2023-09-28T16:20:17.432+0800	WARN	    2. Please confirm there is no port/directory conflicts in same host.
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "SSHKeyGen: path=/tidb/app/.tiup/storage/cluster/clusters/tidb-wms/ssh/id_rsa"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "SSHKeyGen: path=/tidb/app/.tiup/storage/cluster/clusters/tidb-wms/ssh/id_rsa"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskProgress	{"task": "SSHKeyGen: path=/tidb/app/.tiup/storage/cluster/clusters/tidb-wms/ssh/id_rsa", "progress": "Generate SSH keys"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskFinish	{"task": "SSHKeyGen: path=/tidb/app/.tiup/storage/cluster/clusters/tidb-wms/ssh/id_rsa"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskFinish	{"task": "SSHKeyGen: path=/tidb/app/.tiup/storage/cluster/clusters/tidb-wms/ssh/id_rsa"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=pd, version=v6.5.5, os=linux, arch=amd64\nDownload: component=tikv, version=v6.5.5, os=linux, arch=amd64\nDownload: component=tidb, version=v6.5.5, os=linux, arch=amd64\nDownload: component=tikv-cdc, version=, os=linux, arch=amd64\nDownload: component=prometheus, version=v6.5.5, os=linux, arch=amd64\nDownload: component=grafana, version=v6.5.5, os=linux, arch=amd64\nDownload: component=alertmanager, version=, os=linux, arch=amd64\nDownload: component=node_exporter, version=, os=linux, arch=amd64\nDownload: component=blackbox_exporter, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=prometheus, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=prometheus, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=pd, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=tidb, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=tikv-cdc, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=tikv, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=tikv, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=pd, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=tidb, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.382+0800	DEBUG	TaskBegin	{"task": "Download: component=tikv-cdc, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.385+0800	DEBUG	TaskFinish	{"task": "Download: component=tikv-cdc, version=, os=linux, arch=amd64", "error": "unknown component", "errorVerbose": "unknown component\ngithub.com/pingcap/tiup/pkg/repository.init\n\tgithub.com/pingcap/tiup/pkg/repository/mirror.go:55\nruntime.doInit1\n\truntime/proc.go:6740\nruntime.doInit\n\truntime/proc.go:6707\nruntime.main\n\truntime/proc.go:249\nruntime.goexit\n\truntime/asm_amd64.s:1650"}
2023-09-28T16:20:19.385+0800	DEBUG	TaskFinish	{"task": "Download: component=tikv-cdc, version=, os=linux, arch=amd64", "error": "unknown component", "errorVerbose": "unknown component\ngithub.com/pingcap/tiup/pkg/repository.init\n\tgithub.com/pingcap/tiup/pkg/repository/mirror.go:55\nruntime.doInit1\n\truntime/proc.go:6740\nruntime.doInit\n\truntime/proc.go:6707\nruntime.main\n\truntime/proc.go:249\nruntime.goexit\n\truntime/asm_amd64.s:1650"}
2023-09-28T16:20:19.385+0800	DEBUG	TaskBegin	{"task": "Download: component=grafana, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.385+0800	DEBUG	TaskBegin	{"task": "Download: component=grafana, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.521+0800	DEBUG	TaskFinish	{"task": "Download: component=pd, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.521+0800	DEBUG	TaskFinish	{"task": "Download: component=pd, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.521+0800	DEBUG	TaskBegin	{"task": "Download: component=alertmanager, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.522+0800	DEBUG	TaskBegin	{"task": "Download: component=alertmanager, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.535+0800	DEBUG	TaskFinish	{"task": "Download: component=grafana, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.535+0800	DEBUG	TaskFinish	{"task": "Download: component=grafana, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.535+0800	DEBUG	TaskBegin	{"task": "Download: component=node_exporter, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.535+0800	DEBUG	TaskBegin	{"task": "Download: component=node_exporter, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.584+0800	DEBUG	TaskFinish	{"task": "Download: component=tidb, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.584+0800	DEBUG	TaskFinish	{"task": "Download: component=tidb, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.584+0800	DEBUG	TaskBegin	{"task": "Download: component=blackbox_exporter, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.584+0800	DEBUG	TaskBegin	{"task": "Download: component=blackbox_exporter, version=, os=linux, arch=amd64"}
2023-09-28T16:20:19.589+0800	DEBUG	TaskFinish	{"task": "Download: component=node_exporter, version=v1.3.1, os=linux, arch=amd64"}
2023-09-28T16:20:19.589+0800	DEBUG	TaskFinish	{"task": "Download: component=node_exporter, version=v1.3.1, os=linux, arch=amd64"}
2023-09-28T16:20:19.615+0800	DEBUG	TaskFinish	{"task": "Download: component=alertmanager, version=v0.17.0, os=linux, arch=amd64"}
2023-09-28T16:20:19.615+0800	DEBUG	TaskFinish	{"task": "Download: component=alertmanager, version=v0.17.0, os=linux, arch=amd64"}
2023-09-28T16:20:19.620+0800	DEBUG	TaskFinish	{"task": "Download: component=blackbox_exporter, version=v0.21.1, os=linux, arch=amd64"}
2023-09-28T16:20:19.620+0800	DEBUG	TaskFinish	{"task": "Download: component=blackbox_exporter, version=v0.21.1, os=linux, arch=amd64"}
2023-09-28T16:20:19.660+0800	DEBUG	TaskFinish	{"task": "Download: component=prometheus, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:19.660+0800	DEBUG	TaskFinish	{"task": "Download: component=prometheus, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:20.107+0800	DEBUG	TaskFinish	{"task": "Download: component=tikv, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:20.107+0800	DEBUG	TaskFinish	{"task": "Download: component=tikv, version=v6.5.5, os=linux, arch=amd64"}
2023-09-28T16:20:20.107+0800	DEBUG	TaskFinish	{"task": "Download: component=pd, version=v6.5.5, os=linux, arch=amd64\nDownload: component=tikv, version=v6.5.5, os=linux, arch=amd64\nDownload: component=tidb, version=v6.5.5, os=linux, arch=amd64\nDownload: component=tikv-cdc, version=, os=linux, arch=amd64\nDownload: component=prometheus, version=v6.5.5, os=linux, arch=amd64\nDownload: component=grafana, version=v6.5.5, os=linux, arch=amd64\nDownload: component=alertmanager, version=v0.17.0, os=linux, arch=amd64\nDownload: component=node_exporter, version=v1.3.1, os=linux, arch=amd64\nDownload: component=blackbox_exporter, version=v0.21.1, os=linux, arch=amd64", "error": "unknown component", "errorVerbose": "unknown component\ngithub.com/pingcap/tiup/pkg/repository.init\n\tgithub.com/pingcap/tiup/pkg/repository/mirror.go:55\nruntime.doInit1\n\truntime/proc.go:6740\nruntime.doInit\n\truntime/proc.go:6707\nruntime.main\n\truntime/proc.go:249\nruntime.goexit\n\truntime/asm_amd64.s:1650"}
2023-09-28T16:20:20.107+0800	INFO	Execute command finished	{"code": 1, "error": "unknown component", "errorVerbose": "unknown component\ngithub.com/pingcap/tiup/pkg/repository.init\n\tgithub.com/pingcap/tiup/pkg/repository/mirror.go:55\nruntime.doInit1\n\truntime/proc.go:6740\nruntime.doInit\n\truntime/proc.go:6707\nruntime.main\n\truntime/proc.go:249\nruntime.goexit\n\truntime/asm_amd64.s:1650"}

在试试,看起来是网络问题

压缩包大小没问题 解压进去看看数据好着没 重试下,还是不行的话重新获取离线镜像
图片

拉去镜像,网络问题,重试下,就行

多试几次就好了,网络问题

换个姿势,再来一遍

参考一下这个,看上去是一模一样的问题。

1 个赞

重启看看