【 使用环境 】测试环境
【 OB or 其他组件 】OB、OCP
【 使用版本 】3.1.4
【问题描述】使用OCP为租户添加副本时提示 primary zone F type replica not enough in its region not allowed
【复现路径】ocp租户管理界面,新增副本 → 选择zone,资源规格,unit_num–>提交
【问题现象及影响】无法新增副本
【附件】
【 使用环境 】测试环境
【 OB or 其他组件 】OB、OCP
【 使用版本 】3.1.4
【问题描述】使用OCP为租户添加副本时提示 primary zone F type replica not enough in its region not allowed
【复现路径】ocp租户管理界面,新增副本 → 选择zone,资源规格,unit_num–>提交
【问题现象及影响】无法新增副本
【附件】
可以参考一下类似报错的操作
补充一下idc信息:
obclient [oceanbase]> select * from __all_zone where name in (‘region’,‘idc’);
±---------------------------±---------------------------±------±-------±------±-----+
| gmt_create | gmt_modified | zone | name | value | info |
±---------------------------±---------------------------±------±-------±------±-----+
| 2022-12-06 13:14:23.511692 | 2022-12-06 13:14:28.736023 | zone1 | idc | 0 | bjhd |
| 2022-12-06 13:14:23.510634 | 2022-12-06 13:14:28.736023 | zone1 | region | 0 | bj |
| 2022-12-06 13:14:26.640894 | 2022-12-06 13:14:28.748641 | zone2 | idc | 0 | bjhd |
| 2022-12-06 13:14:26.640894 | 2022-12-06 13:14:28.748641 | zone2 | region | 0 | bj |
| 2022-11-29 11:23:40.972968 | 2022-11-29 11:23:56.445012 | zone3 | idc | 0 | bjhd |
| 2022-11-29 11:23:40.972968 | 2022-11-29 11:23:40.972968 | zone3 | region | 0 | bj |
±---------------------------±---------------------------±------±-------±------±-----+
6 rows in set (0.006 sec)
obclient [oceanbase]> select tenant_name,primary_zone,locality from __all_tenant;
±------------±------------------±--------------------------------------------+
| tenant_name | primary_zone | locality |
±------------±------------------±--------------------------------------------+
| sys | zone3;zone1;zone2 | FULL{1}@zone1, FULL{1}@zone2, FULL{1}@zone3 |
| sit13 | zone3 | FULL{1}@zone3 |
| uat14 | RANDOM | FULL{1}@zone1, FULL{1}@zone2, FULL{1}@zone3 |
| uat15 | RANDOM | FULL{1}@zone1, FULL{1}@zone2, FULL{1}@zone3 |
±------------±------------------±--------------------------------------------+
4 rows in set (0.001 sec)
obclient [oceanbase]> select tenant_name,primary_zone,locality from __all_tenant;
±------------±------------------±--------------------------------------------+
| tenant_name | primary_zone | locality |
±------------±------------------±--------------------------------------------+
| sys | zone3;zone1;zone2 | FULL{1}@zone1, FULL{1}@zone2, FULL{1}@zone3 |
| sit13 | zone3 | FULL{1}@zone3 |
| uat14 | RANDOM | FULL{1}@zone1, FULL{1}@zone2, FULL{1}@zone3 |
| uat15 | RANDOM | FULL{1}@zone1, FULL{1}@zone2, FULL{1}@zone3 |
±------------±------------------±--------------------------------------------+
4 rows in set (0.001 sec)
region、idc设置都是一样的,其他租户增加副本没有问题
不设置zone优先级试试能不能创建成功