Error: unknown component

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

Original topic: Error: unknown component

| username: TiDBer_TVKpabeM

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
Execution: tiup cluster deploy tidb-test v7.1.0 ./topology.yaml --user root -i /root/.ssh/id_rsa
[Encountered Issue: Issue Phenomenon and Impact]

Note: tiup mirror merge tidb-community-toolkit-v7.1.0-linux-amd64 has been executed

| username: 我是咖啡哥 | Original post link

Have you completed these steps?

| username: TiDBer_TVKpabeM | Original post link

All done.

| username: 我是咖啡哥 | Original post link

Check your mirror location with tiup mirror show to see if the CDC package is there.

[tidb@centos-xt8aihje tidb-community-server-v7.1.0-linux-amd64]$ tiup mirror show
/opt/soft/tidb-community-server-v7.1.0-linux-amd64
[tidb@centos-xt8aihje tidb-community-server-v7.1.0-linux-amd64]$ ls -lth cdc-v7.1.0-linux-amd64.tar.gz 
-rw-rw-r-- 1 tidb tidb 69M Jun  3 10:46 cdc-v7.1.0-linux-amd64.tar.gz
| username: srstack | Original post link

Try running tiup list tikv-cdc to check.

| username: TiDBer_TVKpabeM | Original post link

This execution is the same as yours.

| username: TiDBer_TVKpabeM | Original post link

Error: failed to fetch component: unknown component

| username: zhanggame1 | Original post link

First, don’t install CDC. Deploy it after installing everything else.

| username: TiDBer_TVKpabeM | Original post link

Yes, it’s resolved.

| username: linnana | Original post link

Could you please explain how it was resolved? Did you try deploying CDC?