本文为您介绍key xxx is not found in config properties的处理方法。
适用版本
OceanBase 云平台(OceanBase Cloud Platform,OCP) V2.x,V3.x,V4.x 版本。
问题现象
重装或者新安装 OCP agent 报 key xxx is not found in config properties 错误,类似下图情况:

解决方法
检查 ocp-server 和 ocp-agent 版本是否一致,如果不一致,需要确保 ocp-server 和 ocp-agent 使用了相同(匹配)的版本。不同版本的配置可能会不同。如果是之前操作了升级,那么需要确保 server 和 agent 都升级成功。