TiDB 6.5.5 indicates tikv-cdc Error: unknown component

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

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

| username: Hacker_5YEF49J7

[TiDB Usage Environment] Production Environment
[TiDB Version] v6.5.5
[Reproduction Path]

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

[Encountered Problem: Problem Phenomenon and Impact]

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"}
| username: xfworld | Original post link

Try again, it seems to be a network issue.

| username: 普罗米修斯 | Original post link

The size of the compressed package is fine. Try extracting it to see if the data is intact. If it still doesn’t work, try obtaining the offline image again.

| username: 大飞哥online | Original post link

Pull the image, if there’s a network issue, just retry, and it should work.

| username: Fly-bird | Original post link

Just try a few more times, it’s a network issue.

| username: 大飞哥online | Original post link

Try a different approach and do it again.

| username: Kongdom | Original post link

Refer to this, it looks like the exact same issue.

| username: ajin0514 | Original post link

Try restarting.