问题现象
白屏部署 OCP 成功后,OCP 任务中心存在失败任务,子任务 update host arch info 执行失败。

任务日志中存在如下信息:
2025-03-05 15:34:05.727 WARN 11212 --- [manual-subtask-executor7,78e8c6d7df14e26e,47daffe63b154282] c.o.o.s.t.b.h.UpdateHostSystemInfoTask : Missing matched ocp agent, arch=x86_64, missingRpm=[name=ocp-agent-ce, version=4.3.4, architecture=x86_64]
2025-03-05 15:34:05.730 ERROR 11212 --- [manual-subtask-executor7,78e8c6d7df14e26e,47daffe63b154282] c.o.ocp.core.util.ExceptionUtils : Checked Exception: com.oceanbase.ocp.core.exception.UnexpectedException occurred with code error.file.package.not.exists, and args [[name=ocp-agent-ce, version=4.3.4, architecture=x86_64]]
2025-03-05 15:34:05.733 ERROR 11212 --- [manual-subtask-executor7,78e8c6d7df14e26e,47daffe63b154282] c.o.o.c.t.e.c.w.subtask.SubtaskExecutor : Software package [name=ocp-agent-ce, version=4.3.4, architecture=x86_64] does not exist.
问题原因
未在 OCP 系统管理 > 软件包管理 中上传对应的 ocp-agent-ce 软件包,或未上传正确的 ocp-agent-ce 软件包。
影响版本
OCP 所有版本。
解决方法及规避方式
通过 OCP 系统管理 > 软件包管理 上传正确的 ocp-agent-ce 软件包。