ovirt配置engine失败,求助

yc 4人参与 0 次点击

在一台物理机上 安装的4.3.9版本的ovirt,配置engine时,报下边错误。

[ ERROR ] fatal: [localhost]: FAILED! => {“attempts”: 10, “changed”: false, “msg”: “Failure talking to yum: Cannot retrieve metalink for repository: ovirt-4.3-epel/x86_64. Please verify its path and try again”}

[ ERROR ] fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “The system may not be provisioned according to the playbook results: please check the logs for the issue, fix accordingly or re-deploy from scratch.\n”}

坛子里说解决办法就是添加主机前将待添加主机的yum源目录清空,在待添加主机上执行以下命令:

rm -rf /etc/yum.repos.d/*,已经照做了,重新配置,又报错了

[ ERROR ] fatal: [localhost]: FAILED! => {“attempts”: 10, “changed”: false, “msg”: “No package matching ‘ovirt-engine-appliance’ found available, installed or updated”, “rc”: 126, “results”: [“No package matching ‘ovirt-engine-appliance’ found available, installed or updated”]}<br style=”box-sizing: border-box;”>[ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks][ INFO ] ok: [localhost][ INFO ] TASK [ovirt.hosted_engine_setup : Remove local vm dir][ INFO ] changed: [localhost][ INFO ] TASK [ovirt.hosted_engine_setup : Remove temporary entry in /etc/hosts for the local VM][ INFO ] ok: [localhost][ INFO ] TASK [ovirt.hosted_engine_setup : Notify the user about a failure][ ERROR ] fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “The system may not be provisioned according to the playbook results: please check the logs for the issue, fix accordingly or re-deploy from scratch.\n”}

求助

    3 讨论 | 直到 2022-03-15 9:54:44
  • 井达clouds
    1

    从论坛里下载ovirt-engine-appliance的rpm包先装到主机上,然后再执行hostedengine部署过程。

  • 大漠孤烟
    2

    同样问题,亲测有效,非常感谢!

  • asbsp23
    3

    井达clouds 是需要将RPM包重装一便的意思吗?