为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【TiDB 版本】
tidb-community-server-v4.0.10-linux-amd64.tar
【问题描述】
tiup cluster check /home/tidb/cluster/topo.yaml --user tidb -i /home/tidb/.ssh/id_rsa
- Getting system info of xxx.xxx.xxx.102:333 … Error
- Getting system info of xxx.xxx.xxx.103:333 … Error
- Getting system info of xxx.xxx.xxx.104:333 … Error
- Getting system info of xxx.xxx.xxx.21:333 … Error
- Getting system info of xxx.xxx.xxx.22:333 … Error
- Getting system info of xxx.xxx.xxx.23:333 … Error
- Getting system info of xxx.xxx.xxx.103:333 … Done
Error: executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@xxx.xxx.xxx.104:333’ {ssh_stderr: We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/usr/bin:/usr/sbin sudo -H bash -c “test -d /tmp || (mkdir -p /tmp && chown tidb:$(id -g -n tidb) /tmp)”}, cause: Process exited with status 1
Verbose debug logs has been written to /home/tidb/.tiup/logs/tiup-cluster-debug-2021-04-28-19-59-36.log.
Error: run /home/tidb/.tiup/components/cluster/v1.3.2/tiup-cluster
(wd:/home/tidb/.tiup/data/SVsRQ4A) failed: exit status 1
检查的时候报错,但是从中控机到其他机器的SSH已经是互通的