【 使用环境 】生产环境 or 测试环境
【 OB or 其他组件 】
【 使用版本 】
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!
同样的方法我在centos7.8上成功,但ubuntu2404失败。青椒
个人怀疑会不会跟Ubuntu版本相关,或者安装时候需要连接互联网(我的Ubuntu是断网状态)
使用obd tool command zcjt log -c obproxy-ce -s 172.17.147.11后看到如下日志
2024-08-24 08:33:55.387072,undefined,obcloud:ocp_meta:,OB_MYSQL,OB_MYSQL_COM_LOGIN,failed,-4669,145us,0us,0us,0us,Y0-00007F207BA91710,172.17.147.11:50096,0,cluster not exist,
2024-08-24 08:33:56.388645,undefined,obcloud:ocp_meta:,OB_MYSQL,OB_MYSQL_COM_LOGIN,failed,-4669,166us,0us,0us,0us,Y0-00007F207B02F710,172.17.147.11:44086,0,cluster not exist,
2024-08-24 08:33:57.390366,undefined,obcloud:ocp_meta:,OB_MYSQL,OB_MYSQL_COM_LOGIN,failed,-4669,190us,0us,0us,0us,Y0-00007F207BA91710,172.17.147.11:44102,0,cluster not exist,
2024-08-24 08:33:58.392573,undefined,obcloud:ocp_meta:,OB_MYSQL,OB_MYSQL_COM_LOGIN,failed,-4669,138us,0us,0us,0us,Y0-00007F207B02F710,172.17.147.11:44110,0,cluster not exist,
2024-08-24 08:33:59.395017,undefined,obcloud:ocp_meta:,OB_MYSQL,OB_MYSQL_COM_LOGIN,failed,-4669,138us,0us,0us,0us,Y0-00007F207BA91710,172.17.147.11:44122,0,cluster not exist,
2024-08-24 08:34:00.397097,undefined,obcloud:ocp_meta:,OB_MYSQL,OB_MYSQL_COM_LOGIN,failed,-4669,147us,0us,0us,0us,Y0-00007F207B02F710,172.17.147.11:44124,0,cluster not exist,
[2024-08-24 08:48:54.934837] WDIAG [PROXY] handle_repeat_task (ob_async_common_task.cpp:284) [713682][Y0-00007F20807CA2A0] [lt=0] [dc=0] fail to do repeat task(this={this:0x559c0a37e0e0, task_name:“meta_mysql_proxy_init_task”, terminate:false, need_callback:false, is_repeat:false, is_stop:false, interval_us:949836, timeout_action:null, pending_action:0x7f207bedd030, cb_cont:null, submit_thread:NULL}, ret=-4002)
[2024-08-24 08:48:55.884114] WDIAG [PROXY] init_meta_client_proxy (ob_proxy.cpp:519) [713682][Y0-00007F20807CA2A0] [lt=0] [dc=0] invalid proxy meta table login info(login_info={username:{config_string:""}, db:{config_string:""}}, ret=-4002)
[2024-08-24 08:48:55.884132] WDIAG [PROXY] init_meta_client_proxy (ob_proxy.cpp:560) [713682][Y0-00007F20807CA2A0] [lt=0] [dc=0] fail to init meta client proxy(is_raw_init=false, ret=-4002)
[2024-08-24 08:48:55.884135] WDIAG [PROXY] do_repeat_task (ob_proxy.cpp:576) [713682][Y0-00007F20807CA2A0] [lt=0] [dc=0] fail to init meta mysql proxy, will retry
[2024-08-24 08:48:55.884137] WDIAG [PROXY] handle_repeat_task (ob_async_common_task.cpp:284) [713682][Y0-00007F20807CA2A0] [lt=0] [dc=0] fail to do repeat task(this={this:0x559c0a37e0e0, task_name:“meta_mysql_proxy_init_task”, terminate:false, need_callback:false, is_repeat:false, is_stop:false, interval_us:949836, timeout_action:null, pending_action:0x7f207bedce00, cb_cont:null, submit_thread:NULL}, ret=-4002)
2024-08-24 08:33:59.500137,undefined,obcloud:ocp_meta:,OB_MYSQL,LOGIN,failed,-4669,60,0,0,0,9106us,0us,0us
2024-08-24 08:34:59.499247,undefined,obcloud:ocp_meta:,OB_MYSQL,LOGIN,failed,-4669,3,0,0,0,466us,0us,