obd cluster display obcluster 查看集群信息Open ssh connection x,求助

[root@dae8675c3d12 pkg]# obd cluster display obcluster;
Get local repositories and plugins ok
Open ssh connection x
[ERROR] OBD-1013: root@172.17.0.2 connect failed: time out

Trace ID: 2e0440d8-aa10-11ee-a68c-0242ac110002
If you want to view detailed obd logs, please run: obd display-trace 2e0440d8-aa10-11ee-a68c-0242ac110002
[root@dae8675c3d12 pkg]# obd display-trace 2e0440d8-aa10-11ee-a68c-0242ac110002
[2024-01-03 08:14:56.329] [DEBUG] - cmd: [‘obcluster’]
[2024-01-03 08:14:56.329] [DEBUG] - opts: {}
[2024-01-03 08:14:56.330] [DEBUG] - mkdir /root/.obd/lock/
[2024-01-03 08:14:56.330] [DEBUG] - unknown lock mode
[2024-01-03 08:14:56.330] [DEBUG] - try to get share lock /root/.obd/lock/global
[2024-01-03 08:14:56.330] [DEBUG] - share lock /root/.obd/lock/global, count 1
[2024-01-03 08:14:56.330] [DEBUG] - Get Deploy by name
[2024-01-03 08:14:56.330] [DEBUG] - mkdir /root/.obd/cluster/
[2024-01-03 08:14:56.330] [DEBUG] - mkdir /root/.obd/config_parser/
[2024-01-03 08:14:56.330] [DEBUG] - try to get exclusive lock /root/.obd/lock/deploy_obcluster
[2024-01-03 08:14:56.330] [DEBUG] - exclusive lock /root/.obd/lock/deploy_obcluster, count 1
[2024-01-03 08:14:56.335] [DEBUG] - Deploy status judge
[2024-01-03 08:14:56.335] [DEBUG] - Get deploy config
[2024-01-03 08:14:56.352] [INFO] Get local repositories and plugins
[2024-01-03 08:14:56.353] [DEBUG] - mkdir /root/.obd/repository
[2024-01-03 08:14:56.353] [DEBUG] - Get local repository oceanbase-ce-4.2.1.2-b2ccb524f200a9ef0fad2cddf59d309ddaa2e3e4
[2024-01-03 08:14:56.353] [DEBUG] - try to get share lock /root/.obd/lock/mirror_and_repo
[2024-01-03 08:14:56.353] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo, count 1
[2024-01-03 08:14:56.355] [DEBUG] - Get local repository obagent-4.2.1-94a73176810c14d456be27bbffa257759425e1d1
[2024-01-03 08:14:56.355] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo, count 2
[2024-01-03 08:14:56.356] [DEBUG] - Searching param plugin for components …
[2024-01-03 08:14:56.356] [DEBUG] - Search param plugin for oceanbase-ce
[2024-01-03 08:14:56.356] [DEBUG] - mkdir /root/.obd/plugins
[2024-01-03 08:14:56.357] [DEBUG] - Found for oceanbase-ce-param-4.2.0.0 for oceanbase-ce-4.2.1.2
[2024-01-03 08:14:56.357] [DEBUG] - Applying oceanbase-ce-param-4.2.0.0 for oceanbase-ce-4.2.1.2-102000042023120514.el7-b2ccb524f200a9ef0fad2cddf59d309ddaa2e3e4
[2024-01-03 08:14:56.750] [DEBUG] - Search param plugin for obagent
[2024-01-03 08:14:56.750] [DEBUG] - Found for obagent-param-1.3.0 for obagent-4.2.1
[2024-01-03 08:14:56.750] [DEBUG] - Applying obagent-param-1.3.0 for obagent-4.2.1-100000092023101717.el7-94a73176810c14d456be27bbffa257759425e1d1
[2024-01-03 08:14:56.796] [DEBUG] - Searching connect plugin for components …
[2024-01-03 08:14:56.796] [DEBUG] - Searching connect plugin for oceanbase-ce-4.2.1.2-102000042023120514.el7-b2ccb524f200a9ef0fad2cddf59d309ddaa2e3e4
[2024-01-03 08:14:56.796] [DEBUG] - Found for oceanbase-ce-py_script_connect-3.1.0 for oceanbase-ce-4.2.1.2
[2024-01-03 08:14:56.796] [DEBUG] - Searching connect plugin for obagent-4.2.1-100000092023101717.el7-94a73176810c14d456be27bbffa257759425e1d1
[2024-01-03 08:14:56.796] [DEBUG] - Found for obagent-py_script_connect-1.3.0 for obagent-4.2.1
[2024-01-03 08:14:56.796] [DEBUG] - Searching display plugin for components …
[2024-01-03 08:14:56.796] [DEBUG] - Searching display plugin for oceanbase-ce-4.2.1.2-102000042023120514.el7-b2ccb524f200a9ef0fad2cddf59d309ddaa2e3e4
[2024-01-03 08:14:56.797] [DEBUG] - Found for oceanbase-ce-py_script_display-3.1.0 for oceanbase-ce-4.2.1.2
[2024-01-03 08:14:56.797] [DEBUG] - Searching display plugin for obagent-4.2.1-100000092023101717.el7-94a73176810c14d456be27bbffa257759425e1d1
[2024-01-03 08:14:56.797] [DEBUG] - Found for obagent-py_script_display-1.3.0 for obagent-4.2.1
[2024-01-03 08:14:56.920] [INFO] Open ssh connection
[2024-01-03 08:14:56.920] [DEBUG] - host: 172.17.0.2, port: 22, user: root, password: None
[2024-01-03 08:14:56.921] [ERROR] Traceback (most recent call last):
[2024-01-03 08:14:56.921] [ERROR] File “core.py”, line 2254, in display_cluster
[2024-01-03 08:14:56.921] [ERROR] File “core.py”, line 246, in get_clients
[2024-01-03 08:14:56.921] [ERROR] File “core.py”, line 265, in get_clients_with_connect_status
[2024-01-03 08:14:56.921] [ERROR] File “core.py”, line 286, in ssh_clients_connect
[2024-01-03 08:14:56.921] [ERROR] File “_stdio.py”, line 888, in func_wrapper
[2024-01-03 08:14:56.921] [ERROR] File “ssh.py”, line 441, in connect
[2024-01-03 08:14:56.921] [ERROR] File “_stdio.py”, line 888, in func_wrapper
[2024-01-03 08:14:56.921] [ERROR] File “ssh.py”, line 398, in _login
[2024-01-03 08:14:56.921] [ERROR] File “paramiko/client.py”, line 368, in connect
[2024-01-03 08:14:56.921] [ERROR] paramiko.ssh_exception.NoValidConnectionsError: [Errno None] Unable to connect to port 22 on 172.17.0.2
[2024-01-03 08:14:56.921] [ERROR]
[2024-01-03 08:14:56.922] [CRITICAL] [ERROR] OBD-1013: root@172.17.0.2 connect failed: time out
[2024-01-03 08:14:57.051] [INFO] [ERROR] OBD-1013: root@172.17.0.2 connect failed: time out
[2024-01-03 08:14:57.051] [INFO]
[2024-01-03 08:14:57.051] [INFO] Trace ID: 2e0440d8-aa10-11ee-a68c-0242ac110002
[2024-01-03 08:14:57.051] [INFO] If you want to view detailed obd logs, please run: obd display-trace 2e0440d8-aa10-11ee-a68c-0242ac110002
[2024-01-03 08:14:57.052] [DEBUG] - unlock /root/.obd/lock/global
[2024-01-03 08:14:57.052] [DEBUG] - unlock /root/.obd/lock/deploy_obcluster
[2024-01-03 08:14:57.052] [DEBUG] - unlock /root/.obd/lock/mirror_and_repo

这个ip你启动的机器能ping通吗

可以ping通;
[root@05803d60b699 ~]# ping 172.17.0.2
PING 172.17.0.2 (172.17.0.2) 56(84) bytes of data.
64 bytes from 172.17.0.2: icmp_seq=1 ttl=64 time=0.175 ms
64 bytes from 172.17.0.2: icmp_seq=2 ttl=64 time=0.019 ms
64 bytes from 172.17.0.2: icmp_seq=3 ttl=64 time=0.020 ms
64 bytes from 172.17.0.2: icmp_seq=4 ttl=64 time=0.022 ms
64 bytes from 172.17.0.2: icmp_seq=5 ttl=64 time=0.021 ms
64 bytes from 172.17.0.2: icmp_seq=6 ttl=64 time=0.016 ms
64 bytes from 172.17.0.2: icmp_seq=7 ttl=64 time=0.019 ms
64 bytes from 172.17.0.2: icmp_seq=8 ttl=64 time=0.088 ms
64 bytes from 172.17.0.2: icmp_seq=9 ttl=64 time=0.014 ms
64 bytes from 172.17.0.2: icmp_seq=10 ttl=64 time=0.023 ms

用root账号免密登陆也可以登上去吗

确认下密码,和防火墙是否是关闭状态中。
关闭防火墙和 SELinux

是的

好的,我试试。

这个最后怎么解决的啊?

问题解决了吗