【 测试环境 】
【 OCP的metadb租户】
【 OCP4.2.2 】
【问题描述】
连接到OCP节点上的metadb租户之后,config_properties表中,“key”字段没有“ocp.operation.ob.tenant.allow-small-unit”,依照官方文档执行如下SQL语句报错:
obclient [meta_database]> update ocp.config_properties set value = ‘true’ WHERE key
= ‘ocp.operation.ob.tenant.allow-small-unit’;
ERROR 1146 (42S02): Table ‘ocp.config_properties’ doesn’t exist
刚开始以为官方文档提供的库前缀是错误的,查meta_database库下的config_properties,返回也是空
obclient [meta_database]> select * from config_properties where key
like ‘ocp.operation.ob.tenant.allow-small-unit’;
Empty set (0.003 sec)
官方文档如下: