【 使用环境 】 测试环境
【 OB or 其他组件 】obd ocp
【 使用版本 】ob4.3.3
【问题描述】
obd停止ocp集群后,再启动,就起不来了,老师帮忙看看还有救吗?
【复现路径】
【附件及日志】
[2024-11-13 19:15:32.318] [DEBUG] -- connect 192.168.10.100 -P2881 -uroot -p******
[2024-11-13 19:15:32.322] [ERROR] Traceback (most recent call last):
[2024-11-13 19:15:32.322] [ERROR] File "pymysql/connections.py", line 613, in connect
[2024-11-13 19:15:32.322] [ERROR] File "socket.py", line 808, in create_connection
[2024-11-13 19:15:32.322] [ERROR] File "socket.py", line 796, in create_connection
[2024-11-13 19:15:32.322] [ERROR] ConnectionRefusedError: [Errno 111] Connection refused
[2024-11-13 19:15:32.322] [ERROR]
[2024-11-13 19:15:32.322] [ERROR] During handling of the above exception, another exception occurred:
[2024-11-13 19:15:32.322] [ERROR]
[2024-11-13 19:15:32.322] [ERROR] Traceback (most recent call last):
[2024-11-13 19:15:32.322] [ERROR] File "core.py", line 2104, in start_cluster
[2024-11-13 19:15:32.322] [ERROR] File "core.py", line 2204, in _start_cluster
[2024-11-13 19:15:32.322] [ERROR] File "core.py", line 198, in call_plugin
[2024-11-13 19:15:32.322] [ERROR] File "_plugin.py", line 348, in __call__
[2024-11-13 19:15:32.322] [ERROR] File "_plugin.py", line 305, in _new_func
[2024-11-13 19:15:32.323] [ERROR] File "/root/.obd/plugins/oceanbase-ce/4.2.1.4/connect.py", line 636, in connect
[2024-11-13 19:15:32.323] [ERROR] cursor = Cursor(ip=server.ip, port=server_config['mysql_port'], tenant='', password=password if password is not None else '', stdio=stdio)
[2024-11-13 19:15:32.323] [ERROR] File "_stdio.py", line 969, in wrapper
[2024-11-13 19:15:32.323] [ERROR] File "_stdio.py", line 956, in func_wrapper
[2024-11-13 19:15:32.323] [ERROR] File "/root/.obd/plugins/oceanbase-ce/4.2.1.4/connect.py", line 528, in __init__
[2024-11-13 19:15:32.323] [ERROR] self._connect()
[2024-11-13 19:15:32.323] [ERROR] File "/root/.obd/plugins/oceanbase-ce/4.2.1.4/connect.py", line 558, in _connect
[2024-11-13 19:15:32.323] [ERROR] self.db = mysql.connect(host=self.ip, user=self.user, port=int(self.port), password=str(self.password),
[2024-11-13 19:15:32.323] [ERROR] File "pymysql/connections.py", line 353, in __init__
[2024-11-13 19:15:32.323] [ERROR] File "pymysql/connections.py", line 664, in connect
[2024-11-13 19:15:32.323] [ERROR] pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)")
[2024-11-13 19:15:32.323] [ERROR]
[2024-11-13 19:15:35.400] [ERROR] OBD-1006: Failed to connect to oceanbase-ce
[2024-11-13 19:15:35.400] [DEBUG] - sub connect ref count to 0
[2024-11-13 19:15:35.400] [DEBUG] - export connect
[2024-11-13 19:15:35.401] [DEBUG] - plugin oceanbase-ce-py_script_connect-4.2.1.4 result: False
[2024-11-13 19:15:35.408] [INFO] See https://www.oceanbase.com/product/ob-deployer/error-codes .
[2024-11-13 19:15:35.409] [INFO] Trace ID: be805b46-a1af-11ef-9bfd-000c290236d4
[2024-11-13 19:15:35.409] [INFO] If you want to view detailed obd logs, please run: obd display-trace be805b46-a1af-11ef-9bfd-000c290236d4
[2024-11-13 19:15:35.409] [DEBUG] - unlock /root/.obd/lock/global
[2024-11-13 19:15:35.409] [DEBUG] - unlock /root/.obd/lock/deploy_ocp_cluster
[2024-11-13 19:15:35.410] [DEBUG] - unlock /root/.obd/lock/mirror_and_repo
日志.log (37.9 KB)
ocp-server.log (16 KB)
observer.rar (6.7 MB)