问题1:将 ocp.site.url
配置为 HTTPS 协议的内网域名后,外部可以正常访问 OCP 组件
问题2:日志我这边只导出了一份,仅供参考,见后
问题3:那么看来是部署 OCP 的白屏那边没做好租户名称的检测
[2024-08-03 22:02:08.394374] [13938][Y0-0000000000000000] [REBOOT](info="obproxy version: ObProxy-OceanBase 4.2.3.0-3, revision: 1-local-301841698608231dcec7a7a8b033ee9600ad874e, sysname: Linux, os release 3.10.0-1160.119.1.el7.x86_64, machine: x86_64, pid: 13938, ppid: 1, result: reboot success")
[2024-08-03 22:02:19.980722] [13938][Y0-00007FB4BCD38710] [LOGIN](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:1, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"172.31.8.89:35072", server_addr:"*Not IP address [0]*:0", cluster_name:"obcloud", tenant_name:"proxysys", user_name:"root", error_code:0, error_msg:"Internal error", request_cmd:"OB_MYSQL_COM_LOGIN", sql_cmd:"OB_MYSQL_COM_LOGIN", req_total_time(us):363}{user_sql:""})
[2024-08-03 22:02:19.985960] [13938][Y0-00007FB4BC8D6710] [LOGIN](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:2, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"172.31.8.89:35074", server_addr:"*Not IP address [0]*:0", cluster_name:"obcloud", tenant_name:"proxysys", user_name:"root", error_code:0, error_msg:"Internal error", request_cmd:"OB_MYSQL_COM_LOGIN", sql_cmd:"OB_MYSQL_COM_LOGIN", req_total_time(us):122}{user_sql:""})
[2024-08-03 22:02:34.489725] [13938][Y0-00007FB4BC8D6710] [LOGIN](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:16, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"172.31.8.89:35150", server_addr:"*Not IP address [0]*:0", cluster_name:"obcloud", tenant_name:"proxysys", user_name:"root", error_code:0, error_msg:"Internal error", request_cmd:"OB_MYSQL_COM_LOGIN", sql_cmd:"OB_MYSQL_COM_LOGIN", req_total_time(us):176}{user_sql:""})
[2024-08-03 22:02:34.490922] [13938][Y0-00007FB4BCD38710] [LOGIN](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:17, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"172.31.8.89:35152", server_addr:"*Not IP address [0]*:0", cluster_name:"obcloud", tenant_name:"proxysys", user_name:"root", error_code:0, error_msg:"Internal error", request_cmd:"OB_MYSQL_COM_LOGIN", sql_cmd:"OB_MYSQL_COM_LOGIN", req_total_time(us):167}{user_sql:""})
[2024-08-03 22:02:45.340567] [13938][Y0-00007FB4BC8D6710] [CONNECTION](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:524294, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"127.0.0.1:53568", server_addr:"*Not IP address [0]*:0", cluster_name:"", tenant_name:"", user_name:"", error_code:0, error_msg:"Connect error", request_cmd:"OB_MYSQL_COM_SLEEP", sql_cmd:"OB_MYSQL_COM_HANDSHAKE", req_total_time(us):36858}{user_sql:""})
[2024-08-03 22:02:46.332802] [13938][Y0-00007FB4BC8D6710] [CONNECTION](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:524295, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"127.0.0.1:53572", server_addr:"*Not IP address [0]*:0", cluster_name:"", tenant_name:"", user_name:"", error_code:0, error_msg:"Connect error", request_cmd:"OB_MYSQL_COM_SLEEP", sql_cmd:"OB_MYSQL_COM_HANDSHAKE", req_total_time(us):102}{user_sql:""})
[2024-08-03 22:09:02.084893] [13938][Y0-00007FB4BCD3A650] [CONNECTION](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:524737, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"127.0.0.1:54404", server_addr:"*Not IP address [0]*:0", cluster_name:"", tenant_name:"", user_name:"", error_code:0, error_msg:"Connect error", request_cmd:"OB_MYSQL_COM_SLEEP", sql_cmd:"OB_MYSQL_COM_HANDSHAKE", req_total_time(us):171}{user_sql:""})
[2024-08-03 22:10:23.174783] [13938][Y0-00007FB4BCD3A650] [CONNECTION](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:524834, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"127.0.0.1:54582", server_addr:"*Not IP address [0]*:0", cluster_name:"", tenant_name:"", user_name:"", error_code:0, error_msg:"Connect error", request_cmd:"OB_MYSQL_COM_SLEEP", sql_cmd:"OB_MYSQL_COM_HANDSHAKE", req_total_time(us):73}{user_sql:""})
[2024-08-03 22:11:23.733915] [13938][Y0-00007FB4BC8D8650] [CONNECTION](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:524905, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"127.0.0.1:54716", server_addr:"*Not IP address [0]*:0", cluster_name:"", tenant_name:"", user_name:"", error_code:0, error_msg:"Connect error", request_cmd:"OB_MYSQL_COM_SLEEP", sql_cmd:"OB_MYSQL_COM_HANDSHAKE", req_total_time(us):159}{user_sql:""})
[2024-08-03 22:16:42.990986] [13938][Y0-00007FB4BCD38710] [CONNECTION](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:525282, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"127.0.0.1:55422", server_addr:"*Not IP address [0]*:0", cluster_name:"", tenant_name:"", user_name:"", error_code:0, error_msg:"Connect error", request_cmd:"OB_MYSQL_COM_SLEEP", sql_cmd:"OB_MYSQL_COM_HANDSHAKE", req_total_time(us):269}{user_sql:""})
[2024-08-03 22:17:08.653876] [13938][Y0-00007FB4BC8D6710] [CONNECTION](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:525309, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"127.0.0.1:55480", server_addr:"*Not IP address [0]*:0", cluster_name:"", tenant_name:"", user_name:"", error_code:0, error_msg:"Connect error", request_cmd:"OB_MYSQL_COM_SLEEP", sql_cmd:"OB_MYSQL_COM_HANDSHAKE", req_total_time(us):176}{user_sql:""})
[2024-08-03 22:19:27.277802] [13938][Y0-00007FB4BC8D8650] [CONNECTION](trace_type="PROXY_INTERNAL_TRACE", connection_diagnosis={cs_id:525482, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"127.0.0.1:55786", server_addr:"*Not IP address [0]*:0", cluster_name:"", tenant_name:"", user_name:"", error_code:0, error_msg:"Connect error", request_cmd:"OB_MYSQL_COM_SLEEP", sql_cmd:"OB_MYSQL_COM_HANDSHAKE", req_total_time(us):87}{user_sql:""})
[2024-08-03 22:19:34.053710] [13938][Y0-00007FB4BC8D8650] [LOGIN](trace_type="LOGIN_TRACE", connection_diagnosis={cs_id:525490, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"172.31.8.89:38480", server_addr:"*Not IP address [0]*:0", cluster_name:"TestCluster", tenant_name:"TestTenant", user_name:"root", error_code:-4669, error_msg:"all cluster info is empty, please check the config server", request_cmd:"OB_MYSQL_COM_LOGIN", sql_cmd:"OB_MYSQL_COM_LOGIN", req_total_time(us):689}{internal_sql:"", login_result:"failed"})
[2024-08-03 22:19:45.034369] [13938][Y0-00007FB4BC8D8650] [LOGIN](trace_type="LOGIN_TRACE", connection_diagnosis={cs_id:525506, ss_id:0, proxy_session_id:0, server_session_id:0, client_addr:"172.31.8.89:38538", server_addr:"*Not IP address [0]*:0", cluster_name:"TestCluster", tenant_name:"TestTenant", user_name:"root", error_code:-4669, error_msg:"all cluster info is empty, please check the config server", request_cmd:"OB_MYSQL_COM_LOGIN", sql_cmd:"OB_MYSQL_COM_LOGIN", req_total_time(us):187}{internal_sql:"", login_result:"failed"})
2024-08-03 22:19:34.053737,TestProxy,,,,TestCluster:TestTenant:,OB_MYSQL,,,OB_MYSQL_COM_LOGIN,,failed,-4669,,686us,0us,0us,0us,Y0-00007FB4BC8D8650,,172.31.8.89:38480,,0,,cluster not exist,
2024-08-03 22:19:45.034410,TestProxy,,,,TestCluster:TestTenant:,OB_MYSQL,,,OB_MYSQL_COM_LOGIN,,failed,-4669,,184us,0us,0us,0us,Y0-00007FB4BC8D8650,,172.31.8.89:38538,,0,,cluster not exist,
2024-08-03 22:19:59.500339,TestProxy,,TestCluster:TestTenant:,OB_MYSQL,LOGIN,failed,-4669,2,0,0,0,870us,0us,0us
补充:如有需要可重新复现再导出一份