【 TiDB 使用环境】生产环境
【 TiDB 版本】6.5.2
【复现路径】重启一个pd节点时报错
【遇到的问题:问题现象及影响】
使用tiup cluster restart 重启一个pd节点报错
报错如下:
Error: failed to stop: failed to stop pd: failed to stop: xxxx pd-3379.service, please check the instance’s log(/data1/tidb/deploy/pd-3379/log) for more detail.: executor.ssh.execute_failed: Failed to execute command over SSH for ‘tidb@xxxx:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /usr/bin/sudo -H bash -c “systemctl daemon-reload && systemctl stop pd-3379.service”}, cause: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
ssh测试了,使用tidb用户ssh到pd节点是没问题的