ocp 接管ob集群无法拉取pos.py文件

【 使用环境 】测试环境
【 OCP 】
【 使用版本 】4.0.3
【问题描述】使用OCP 4.0.3接管 OB 3.1.5 集群报错
【复现路径】

  # 验证通过
  obd cluster check4ocp obcluster 

【问题现象及影响】
点击接管任务卡在5/58

Update host arch info

2023-05-22 19:53:17.007  INFO 12 --- [pool-manual-subtask-executor15,32d83d57e59e43b6,2df4b83906d8] com.oceanbase.ocp.common.ssh.SshUtils    : SSH executeCommand begin: curl -s -k -o /tmp/fcb23c63acd14c22/pos.py "http://localhost:8080/api/v2/object-storage/built-in/pos.py" on 192.168.80.13

com.oceanbase.ocp.executor.exception.SshCommandFailedException: failed to execute ssh command, errMsg:com.oceanbase.ocp.executor.exception.SshCommandFailedException: failed to execute ssh command, errMsg:command failed, args:curl -s -k -o /tmp/fcb23c63acd14c22/pos.py "http://localhost:8080/api/v2/object-storage/built-in/pos.py", return code:7, output:, extOut:null. cause:null. cause:com.oceanbase.ocp.executor.exception.SshCommandFailedException: failed to execute ssh command, errMsg:command failed, args:curl -s -k -o /tmp/fcb23c63acd14c22/pos.py "http://localhost:8080/api/v2/object-storage/built-in/pos.py", return code:7, output:, extOut:null. cause:null
	at com.oceanbase.ocp.executor.executor.SshExecutor.callPosMethod(SshExecutor.java:385) ~[command-executor-4.0.3-20230301.jar!/:4.0.3-20230301]
	at com.oceanbase.ocp.executor.executor.SshExecutor.getHostInfo(SshExecutor.java:104) ~[command-executor-4.0.3-20230301.jar!/:4.0.3-20230301]
	at com.oceanbase.ocp.compute.host.manager.HostManagerImpl.getHostInfo(HostManagerImpl.java:135) ~[ocp-compute-host-service-4.0.3-20230301.jar!/:4.0.3-20230301]
	at com.oceanbase.ocp.service.task.business.host.UpdateHostSystemInfoTask.run(UpdateHostSystemInfoTask.java:58) ~[ocp-service-4.0.3-20230301.jar!/:4.0.3-20230301]
	at com.oceanbase.ocp.core.task.runtime.Subtask.retry(Subtask.java:49) ~[ocp-core-4.0.3-20230301.jar!/:4.0.3-20230301]
	at com.oceanbase.ocp.core.task.engine.runner.JavaSubtaskRunner.retry(JavaSubtaskRunner.java:75) ~[ocp-core-4.0.3-20230301.jar!/:4.0.3-20230301]
	at com.oceanbase.ocp.core.task.engine.runner.JavaSubtaskRunner.doRun(JavaSubtaskRunner.java:35) 

看这个日志是想从ocp上拉取一个pos.py的文件,使用localhost:8080是有问题的。
我猜应该哪有配置,看ocp的系统变量里有ocp.network.inter-connector.host-address 看着像内网地址,对应的localhost改成了对应的ip,还是不行。

可以通过ip:8080访问对应的文件,能拉到observer的服务器,但是目录是动态的,每次重新执行新生成一个目录。

这个改怎么解决?

【附件】

把localhost映射到 ocp对应的ip上,重新新建了一个接管任务执行成功,但是这个只是临时解决方案

可以参看这个帖子。