【 使用环境 】测试环境
【 OB or 其他组件 】 ob-operator 2.3.3/ obproxy-ce:4.0.0-5
【 使用版本 】ob-operator 2.3.3 obproxy-ce:4.0.0-5
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
metadata:
name: svc-obproxy
namespace: oceanbase
spec:
type: NodePort
selector:
app: obproxy
ports:
- name: “sql”
port: 2883
targetPort: 2883
nodePort: 30083
- name: “prometheus”
port: 2884
targetPort: 2884
nodePort: 30084
apiVersion: apps/v1
kind: Deployment
metadata:
name: obproxy
namespace: oceanbase
spec:
selector:
matchLabels:
app: obproxy
replicas: 1
template:
metadata:
labels:
app: obproxy
spec:
containers:
- name: obproxy
image: 764741675347.dkr.ecr.cn-north-1.amazonaws.com.cn/oceanbase/obproxy-ce:4.0.0-5
ports:
- containerPort: 2883
name: “sql”
- containerPort: 2884
name: “prometheus”
env:
- name: APP_NAME
value: helloworld
- name: OB_CLUSTER
value: obcluster
- name: RS_LIST
value: “172.20.220.181:2881;172.20.238.16:2881;172.20.6.233:2881”
- name: PROXYRO_PASSWORD
valueFrom:
secretKeyRef:
name: proxyro-password
key: password
resources:
limits:
memory: 2Gi
cpu: “1”
requests:
memory: 200Mi
cpu: 200m
$ obclient -h 10.20.6.19 -P 30083 -u root@sys#obcluster -p
Enter password:
ERROR 2013 (HY000): Lost connection to MySQL server at ‘reading authorization packet’, system error: 11
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!