麒麟操作系统obd 部署集群ssh校验失败

【产品名称】ob

【产品版本】3.1.3

【问题描述】麒麟操作系统obd 安装ssh校验失败,

obd cluster autodeploy openob -c distributed-with-exmple.yaml

[ERROR] root@197.0.33.15 connect failed:[ Errno 110] Connection timed out

但是实际ssh root@197.0.33.15 hostname 可以正常执行。

不知是否与麒麟ssh 的Authorized users only提示有关

[root@OPENOB1 soft]# cat /etc/kylin-release

Kylin Linux Advanced Server release V10 (Tercel)

[root@OPENOB1 soft]#

[root@OPENOB1 soft]# obd cluster autodeploy openob -c distributed-with-obproxy-example.yaml

....

oceanbase-ce-3.1.3 already installed.

obproxy-3.2.0 already installed.

Cluster param config check ok

Open ssh connection ok

Generate observer configuration ok

Generate obproxy configuration ok

oceanbase-ce-3.1.3 already installed.

obproxy-3.2.0 already installed.

+-------------------------------------------------------------------------------------------+

|                                         Packages                                        |

+--------------+---------+-----------------------+------------------------------------------+

| Repository  | Version | Release              | Md5                                     |

+--------------+---------+-----------------------+------------------------------------------+

| oceanbase-ce | 3.1.3  | 10000292022032916.el7 | eab08e5d473bd4884fdf2ac4d7dff6a329b68abe |

| obproxy     | 3.2.0  | 1.el7                | 8d5c6978f988935dc3da1dbec208914668dcf3b2 |

+--------------+---------+-----------------------+------------------------------------------+

Repository integrity check ok

Parameter check ok

Open ssh connection x

[ERROR] root@197.0.33.15 connect failed: [Errno 110] Connection timed out


[root@OPENOB1 soft]#

[root@OPENOB1 soft]#

[root@OPENOB1 soft]#

[root@OPENOB1 soft]# ssh root@197.0.33.15 hostname                                         


Authorized users only. All activities may be monitored and reported.

OPENOB3

[root@OPENOB1 soft]#

应该跟一些自定义的安全加固有关。如果可以的话直接关掉相关的安全加固。或者尝试使用非root用户。

另外在执行命令的时候加上-v可以打印verbose信息,里面包含报错的堆栈,如果可以提供这个堆栈或许能定位到具体跟哪块配置有关。