添加租户时报错

【 使用环境 】测试环境
【 OB 】
【 使用版本 】4.3.5
【问题描述】添加租户时报错[2025-09-09 16:46:11.221] [DEBUG] - Call plugin oceanbase-standalone-py_script_create_tenant-4.0.0.0 for oceanbase-standalone-4.3.5.3-103000112025071821.el8-b69568b1f62baa0c0bb865b1c4ba4f343fadca3a
[2025-09-09 16:46:11.221] [DEBUG] - import create_tenant
[2025-09-09 16:46:11.262] [DEBUG] - add create_tenant ref count to 1
[2025-09-09 16:46:11.262] [DEBUG] – mysql execute sql: select * from oceanbase.DBA_OB_UNIT_CONFIGS order by name. args: None
[2025-09-09 16:46:11.264] [DEBUG] – mysql execute sql: select * from oceanbase.DBA_OB_TENANTS where TENANT_NAME = %s. args: [‘IBSENDEVELOP’]
[2025-09-09 16:46:11.284] [INFO] Create tenant IBSENDEVELOP
[2025-09-09 16:46:11.285] [DEBUG] – mysql execute sql: select zone, count() num from oceanbase.__all_server where status = ‘active’ group by zone. args: None
[2025-09-09 16:46:11.286] [DEBUG] – mysql execute sql: select count(
) num from oceanbase.__all_server where status = ‘active’ and start_service_time > 0. args: None
[2025-09-09 16:46:11.287] [DEBUG] – mysql execute sql: SELECT * FROM oceanbase.GV$OB_SERVERS where zone in (‘zone1’). args: None
[2025-09-09 16:46:11.290] [DEBUG] – mysql execute sql: create resource unit IBSENDEVELOP_unit max_cpu 6.0, memory_size 7516192768, min_cpu 6.0, log_disk_size 27917287424. args: None
[2025-09-09 16:46:11.877] [DEBUG] – mysql execute sql: create resource pool IBSENDEVELOP_pool unit=‘IBSENDEVELOP_unit’, unit_num=1, zone_list=(‘zone1’). args: None
[2025-09-09 16:46:12.649] [DEBUG] – mysql execute sql: create tenant IBSENDEVELOP replica_num=1,zone_list=(‘zone1’),primary_zone=‘RANDOM’,resource_pool_list=(‘IBSENDEVELOP_pool’), charset = ‘utf8mb4’, collate = ‘utf8mb4_general_ci’set ob_tcp_invited_nodes=’%’, ob_compatibility_mode = ‘oracle’. args: None
[2025-09-09 16:46:27.543] [ERROR] [ERROR] OBD-5000: create tenant IBSENDEVELOP replica_num=1,zone_list=(‘zone1’),primary_zone=‘RANDOM’,resource_pool_list=(‘IBSENDEVELOP_pool’), charset = ‘utf8mb4’, collate = ‘utf8mb4_general_ci’set ob_tcp_invited_nodes=’%’, ob_compatibility_mode = ‘oracle’ execute failed
[2025-09-09 16:46:27.543] [ERROR] [ERROR] create tenant failed
[2025-09-09 16:46:27.557] [INFO] [ERROR] OBD-5000: create tenant IBSENDEVELOP replica_num=1,zone_list=(‘zone1’),primary_zone=‘RANDOM’,resource_pool_list=(‘IBSENDEVELOP_pool’), charset = ‘utf8mb4’, collate = ‘utf8mb4_general_ci’set ob_tcp_invited_nodes=’%’, ob_compatibility_mode = ‘oracle’ execute failed
[2025-09-09 16:46:27.557] [INFO] [ERROR] create tenant failed
[2025-09-09 16:46:27.557] [INFO]
[2025-09-09 16:46:27.557] [DEBUG] - sub create_tenant ref count to 0
[2025-09-09 16:46:27.557] [DEBUG] - export create_tenant
[2025-09-09 16:46:27.557] [DEBUG] - plugin oceanbase-standalone-py_script_create_tenant-4.0.0.0 result: False
[2025-09-09 16:46:27.557] [WARNING] [WARN] Failed to create tenant. Please check the log for details. You can try run obd cluster tenant create -h to create tenant again.
[2025-09-09 16:46:27.558] [INFO] If this cluster is for production use, please import a commercial license in time.
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/deploy_IBSEN release, count 6
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/deploy_IBSEN release, count 5
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/mirror_and_repo release, count 16
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/mirror_and_repo release, count 15
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/mirror_and_repo release, count 14
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/deploy_IBSEN release, count 4
【复现路径】选择oracle模式添加租户
【附件及日志】[2025-09-09 16:46:11.221] [DEBUG] - Call plugin oceanbase-standalone-py_script_create_tenant-4.0.0.0 for oceanbase-standalone-4.3.5.3-103000112025071821.el8-b69568b1f62baa0c0bb865b1c4ba4f343fadca3a
[2025-09-09 16:46:11.221] [DEBUG] - import create_tenant
[2025-09-09 16:46:11.262] [DEBUG] - add create_tenant ref count to 1
[2025-09-09 16:46:11.262] [DEBUG] – mysql execute sql: select * from oceanbase.DBA_OB_UNIT_CONFIGS order by name. args: None
[2025-09-09 16:46:11.264] [DEBUG] – mysql execute sql: select * from oceanbase.DBA_OB_TENANTS where TENANT_NAME = %s. args: [‘IBSENDEVELOP’]
[2025-09-09 16:46:11.284] [INFO] Create tenant IBSENDEVELOP
[2025-09-09 16:46:11.285] [DEBUG] – mysql execute sql: select zone, count() num from oceanbase.__all_server where status = ‘active’ group by zone. args: None
[2025-09-09 16:46:11.286] [DEBUG] – mysql execute sql: select count(
) num from oceanbase.__all_server where status = ‘active’ and start_service_time > 0. args: None
[2025-09-09 16:46:11.287] [DEBUG] – mysql execute sql: SELECT * FROM oceanbase.GV$OB_SERVERS where zone in (‘zone1’). args: None
[2025-09-09 16:46:11.290] [DEBUG] – mysql execute sql: create resource unit IBSENDEVELOP_unit max_cpu 6.0, memory_size 7516192768, min_cpu 6.0, log_disk_size 27917287424. args: None
[2025-09-09 16:46:11.877] [DEBUG] – mysql execute sql: create resource pool IBSENDEVELOP_pool unit=‘IBSENDEVELOP_unit’, unit_num=1, zone_list=(‘zone1’). args: None
[2025-09-09 16:46:12.649] [DEBUG] – mysql execute sql: create tenant IBSENDEVELOP replica_num=1,zone_list=(‘zone1’),primary_zone=‘RANDOM’,resource_pool_list=(‘IBSENDEVELOP_pool’), charset = ‘utf8mb4’, collate = ‘utf8mb4_general_ci’set ob_tcp_invited_nodes=’%’, ob_compatibility_mode = ‘oracle’. args: None
[2025-09-09 16:46:27.543] [ERROR] [ERROR] OBD-5000: create tenant IBSENDEVELOP replica_num=1,zone_list=(‘zone1’),primary_zone=‘RANDOM’,resource_pool_list=(‘IBSENDEVELOP_pool’), charset = ‘utf8mb4’, collate = ‘utf8mb4_general_ci’set ob_tcp_invited_nodes=’%’, ob_compatibility_mode = ‘oracle’ execute failed
[2025-09-09 16:46:27.543] [ERROR] [ERROR] create tenant failed
[2025-09-09 16:46:27.557] [INFO] [ERROR] OBD-5000: create tenant IBSENDEVELOP replica_num=1,zone_list=(‘zone1’),primary_zone=‘RANDOM’,resource_pool_list=(‘IBSENDEVELOP_pool’), charset = ‘utf8mb4’, collate = ‘utf8mb4_general_ci’set ob_tcp_invited_nodes=’%’, ob_compatibility_mode = ‘oracle’ execute failed
[2025-09-09 16:46:27.557] [INFO] [ERROR] create tenant failed
[2025-09-09 16:46:27.557] [INFO]
[2025-09-09 16:46:27.557] [DEBUG] - sub create_tenant ref count to 0
[2025-09-09 16:46:27.557] [DEBUG] - export create_tenant
[2025-09-09 16:46:27.557] [DEBUG] - plugin oceanbase-standalone-py_script_create_tenant-4.0.0.0 result: False
[2025-09-09 16:46:27.557] [WARNING] [WARN] Failed to create tenant. Please check the log for details. You can try run obd cluster tenant create -h to create tenant again.
[2025-09-09 16:46:27.558] [INFO] If this cluster is for production use, please import a commercial license in time.
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/deploy_IBSEN release, count 6
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/deploy_IBSEN release, count 5
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/mirror_and_repo release, count 16
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/mirror_and_repo release, count 15
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/mirror_and_repo release, count 14
[2025-09-09 16:46:27.558] [DEBUG] - exclusive lock /root/.obd/lock/deploy_IBSEN release, count 4

请教各位大佬 是不是和我选择的字符集有关

【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!

您好,您提的这个技术问题可能牵涉到 OceanBase 企业版范围内的功能细节;针对此类问题,建议你通过以下方式寻求帮助:

  1. 如你所在的企业客户已签署 OceanBase 企业版销售合同,请你联系客户经理;

  2. 如你所在的企业客户尚未签署 OceanBase 企业版销售合同,你可通过OceanBase官网商务咨询页面留下你的联系方式,OceanBase企业版的业务顾问会在一个工作日内与你联系。

另外,我们欢迎你使用社区版,并在论坛/社群中分享你对社区版本的想法、经验和问题,与其他社区成员共同交流。

(小助手的答复已结束,如未能解决您的问题,请继续提问并等待其他同学的回复,谢谢!)