ob:4.1.0
部署ocp-express后,访问界面报错如下:
查看后台日志:
2023-09-26 17:50:53.719 WARN 43786 — [http-nio-8180-exec-3,f4c59609f6ca445a,0745f135bdc7] c.o.ocp.analyzer.RequestTracingAspect : API Error: [GET /api/v1/ob/tenants/1004/sessions client=183.6.36.46, traceId=f4c59609f6ca445a, duration=3 ms, errorMsg=[OCP NotFoundException]: status=404 NOT_FOUND, errorCode=OB_TENANT_CREDENTIAL_NOT_FOUND, args=ocp_meta]
而ocp_meta组会是存在的:
mysql> select * from __all_tenant where tenant_name='ocp_meta' \G
*************************** 1. row ***************************
gmt_create: 2023-09-26 16:32:11.482209
gmt_modified: 2023-09-26 16:32:32.688340
tenant_id: 1004
tenant_name: ocp_meta
zone_list: zone1;zone2;zone3
primary_zone: RANDOM
locked: 0
collation_type: 0
info:
locality: FULL{1}@zone1, FULL{1}@zone2, FULL{1}@zone3
previous_locality:
default_tablegroup_id: -1
compatibility_mode: 0
drop_tenant_time: -1
status: NORMAL
in_recyclebin: 0
arbitration_service_status: DISABLED
1 row in set (0.00 sec)
$ obclient -hxxxx -P2881 -uroot@ocp_meta -p
Enter password:
Welcome to the OceanBase. Commands end with ; or \g.
Your OceanBase connection id is 3221568361
Server version: OceanBase_CE 4.1.0.2 (r104000032023092120-6059cef14d9ab49773c095c1204c8ec6196f2bfa) (Built Sep 21 2023 20:33:14)
Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
obclient [(none)]>