发生版本
【GaussDB(DWS)】【6.5.1.5】
问题描述
1、扩容主机失败,有如下提示信息:
#发现节点未完成# Could not verify `ecdsa-sha2-nistp256` host key with fingerprint `31:90:be:5c:92:a4:62:90:7d:9a:d2:c2:4e:4f:d6:2a` for `xxx.xxx.xxx.xxx` on port 22 while Connecting via SSH to xxx.xxx.xxx.xxx using username root.
2、重装主机失败,提示:
重装主机失败,详细错误信息: Failed to verify nodes connection. Maybe the password is incorrect or the network is abno
问题分析
待扩容或重装节点的HOSTKEY变更(重装OS或者重新生成HOSTKEY可能会导致HOSTKEY变更)。
解决方案
1、使用PuTTY工具,以omm用户登录主管理节点。
2、执行vi /var/log/Bigdata/controller/controller_nodesetup.log命令,搜索“HOST_KEY_NOT_VERIFIABLE”关键字,有如下报错信息:
SSH Command Exectuion failed
3、执行vi ${BIGDATA_HOME}/om-server/om/etc/om/known_hosts命令,删除文件中包含待扩容或者重装节点主机名或者ip地址的行。
4、执行sh ${CONTROLLER_HOME}/sbin/restart-controller.sh命令重启controller,然后重新进行扩容或者重装主机。
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/316507.html