【 使用环境 】 测试环境
【 OB or 其他组件 】
【 使用版本 】
【问题描述】清晰明确描述问题
参考链接: 概述-V4.3.2-OceanBase 云平台OCP文档-分布式数据库使用文档
通过 链接安装新的ocp 服务,安装到最后报错了,下面是日志信息
系统界面信息显示:
错误日志1:
[2024-09-27 16:49:47.110] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - cmd: [‘test’]
[2024-09-27 16:49:47.110] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - opts: {‘servers’: None, ‘components’: None, 'force_delete
': None, ‘strict_check’: None, ‘without_parameter’: None}
[2024-09-27 16:49:47.111] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - mkdir /root/.obd/lock/
[2024-09-27 16:49:47.111] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - unknown lock mode
[2024-09-27 16:49:47.111] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - try to get share lock /root/.obd/lock/global
[2024-09-27 16:49:47.111] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - share lock /root/.obd/lock/global
, count 1
[2024-09-27 16:49:47.111] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - Get Deploy by name
[2024-09-27 16:49:47.111] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - mkdir /root/.obd/cluster/
[2024-09-27 16:49:47.111] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - mkdir /root/.obd/config_parser/
[2024-09-27 16:49:47.111] [72ed17fe-7cad-11ef-b857-c025a5afb437] [DEBUG] - try to get exclusive lock /root/.obd/lock/deploy_test
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] Another app is currently holding the obd lock.
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] Traceback (most recent call last):
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] File “_lock.py”, line 64, in _ex_lock
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] File “tool.py”, line 499, in exclusive_lock_obj
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] BlockingIOError: [Errno 11] Resource temporarily unavailabl
e
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR]
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] During handling of the above exception, another exception o
ccurred:
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR]
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] Traceback (most recent call last):
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] File “_lock.py”, line 85, in ex_lock
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] File “_lock.py”, line 66, in _ex_lock
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] _errno.LockError: [Errno 11] Resource temporarily unavailab
le
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR]
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] During handling of the above exception, another exception o
ccurred:
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR]
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] Traceback (most recent call last):
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] File “obd.py”, line 246, in do_command
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] File “obd.py”, line 938, in _do_command
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] File “core.py”, line 2040, in start_cluster
[2024-09-27 16:49:47.112] [72ed17fe-7cad-11ef-b857-c025a5afb437] [ERROR] File “_deploy.py”, line 1846, in get_deploy_config
错误日志2:
2024-09-27 16:43:21,565 INFO dispatch (idle_shutdown.py:36) [6c6e7675fd3a464280194384e5df70fa] dispatch request and update last requ
est time
2024-09-27 16:43:21,566 INFO get_install_task_info (ocp_handler.py:844) [6c6e7675fd3a464280194384e5df70fa] get ocp install task info
2024-09-27 16:43:21,568 INFO dispatch (request_response_log.py:43) [6c6e7675fd3a464280194384e5df70fa] app send response, code: 200
2024-09-27 16:43:21,678 ERROR wrapper (task.py:140) [274282e1fe8b4221aed5f4da0a3a377e] task 1 got exception
Traceback (most recent call last):
File “service/common/task.py”, line 126, in wrapper
File “concurrent/futures/_base.py”, line 444, in result
File “concurrent/futures/_base.py”, line 389, in __get_result
File “concurrent/futures/thread.py”, line 57, in run
File “service/handler/ocp_handler.py”, line 819, in _do_install
Exception: task test start failed
2024-09-27 16:43:21,679 INFO wrapper (task.py:143) [274282e1fe8b4221aed5f4da0a3a377e] task 1 finished failed
2024-09-27 16:43:23,072 INFO dispatch (request_response_log.py:40) [2502ef3bf73d41eda6efe7dd536d3946] app receive request, method: G
ET, url: http://172.17.151.124:8680/api/v1/ocp/deployments/1/install/2/log, query_params: , body: , from: 172.17.151.70:61830
2024-09-27 16:43:23,073 INFO dispatch (idle_shutdown.py:36) [2502ef3bf73d41eda6efe7dd536d3946] dispatch request and update last requ
est time
2024-09-27 16:43:23,073 INFO get_install_task_info (ocp_handler.py:844) [2502ef3bf73d41eda6efe7dd536d3946] get ocp install task info
2024-09-27 16:43:23,074 INFO dispatch (request_response_log.py:43) [2502ef3bf73d41eda6efe7dd536d3946] app send response, code: 200
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!