TiDB 部署的时候,没有问题,但是扩缩容时出现问题

Error: failed to stop grafana: failed to stop: 10.129.5.15 grafana-3000.service, please check the instance’s log(/data/tidb/tidb-deploy/grafana-3000/log) for more detail.: executor.ssh.execute_failed: Failed to execute command over SSH for ‘root@10.129.5.15:22’ {ssh_stderr: , ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/usr/bin:/usr/sbin sudo -H bash -c “systemctl daemon-reload && systemctl stop grafana-3000.service”}, cause: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:

【概述】TiDB 部署的时候,没有问题,但是扩缩容时出现问题

【背景】部署完成,对tidb-server进行去除

【现象】报错如下
ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
【业务影响】

【TiDB 版本】V5.1.0

1 个赞

ssh是使用密钥登录,ssh互信完成没有问题。

缩容还是扩容?或者是先扩容再缩容?
麻烦把具体的命令发一下,多谢。