【 使用环境 】测试环境
【 OB or 其他组件 】
【 使用版本 】
【问题描述】ocp上删除2个租户后,对应租户的资源无法删除
obclient(root@sys)[oceanbase]> drop resource pool pool1;
ERROR 4626 (HY000): resource pool ‘pool1’ has already been granted to a tenant
【 使用环境 】测试环境
【 OB or 其他组件 】
【 使用版本 】
【问题描述】ocp上删除2个租户后,对应租户的资源无法删除
obclient(root@sys)[oceanbase]> drop resource pool pool1;
ERROR 4626 (HY000): resource pool ‘pool1’ has already been granted to a tenant
之前遇到类似错误,删除2个租户后ocp界面出现警告如下:
告警概述:alarm_template_id=0:ob_cluster=myoceanbase-1745292158:tenant_name=tenant1:ob_tenant_id=1016:actual_tenant_name=_recycle$_1745292158_1747817248141224 OceanBase租户的租户名发生变化
告警详情:集群:myoceanbase,租户:tenant1:1016,告警:OceanBase租户的租户名发生变化。租户 tenant1:1016 的租户名变为 _recycle$_1745292158_1747817248141224。
删除资源池报错:
obclient(root@sys)[oceanbase]> drop resource pool pool1;
ERROR 4626 (HY000): resource pool ‘pool1’ has already been granted to a tenant
解决方法:
drop tenant recycle$_1745292158_1747817248141224 force;