Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tiup cluster 命令不执行,超时
[TiDB Usage Environment] Testing
[TiDB Version] cluster v6.1
[Encountered Problem] tiup cluster execution unsuccessful
tiup cluster
tiup is checking updates for component cluster …timeout!
Error: unknown component
tiup dm can execute successfully.
Dashboard is all normal tt.doc (109.5 KB)
[Reproduction Path] One tiflash disk space was full and not detected, currently disk space has been restored.
[Problem Phenomenon and Impact]
Unable to run tiup cluster, cannot operate the cluster
What is the command you executed? Is it just tiup cluster? The command seems incomplete.
tiup cluster doesn’t work with anything following it.
Execute the following in the offline package directory:
sh tidb-community-server-v6.1.0-linux-amd64/local_install.sh
There is no such offline package, do I need to download it again?
No, it’s not an offline installation, right?
Yes, it was installed online. Previously, version 5.2.3 was running normally, and later upgraded directly to 6.1.0 using tiup, everything was normal. Then, adding tiflash for a table caused the disk space on the tiflash machine to be full, resulting in tiflash constantly restarting and going offline. It is currently back to normal. However, tiup cluster is no longer usable. During the troubleshooting process, it was found that the disk space was full, and even after recovery, it is still not usable.
Can the tiup cluster list
command be executed?
Reinstall tiup and try again.
Take a look at the detailed debug logs.
The debug logs of tiup are located in .tiup/logs.
Will reinstalling tiup affect the existing cluster? dm cluster
{“code”: 1, “error”: “Cluster pro_cluster_cluster not found”, “errorVerbose”: “Cluster pro_cluster_cluster not found
github.com/pingcap/tiup/components/cluster/command.newDisplayCmd.func1
\tgithub.com/pingcap/tiup/components/cluster/command/display.go:51
github.com/spf13/cobra.(*Command).execute
\tgithub.com/spf13/cobra@v1.3.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
\tgithub.com/spf13/cobra@v1.3.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
\tgithub.com/spf13/cobra@v1.3.0/command.go:902
github.com/pingcap/tiup/components/cluster/command.Execute
\tgithub.com/pingcap/tiup/components/cluster/command/root.go:296
main.main
\tgithub.com/pingcap/tiup/components/cluster/main.go:23
runtime.main
\truntime/proc.go:255
runtime.goexit
\truntime/asm_amd64.s:1581”}
TiUP is just a tool for managing clusters and will not affect your current cluster.
I think I found the reason, there is no cluster in the tiup list
.
Reinstalled it, and it works now. Thank you very much.
Got it, your installation of DM with tiup has overwritten it, and it should not be related to the tiflash issue. Switching the mirror should solve it.
This topic will be automatically closed 60 days after the last reply. No new replies are allowed.