在一台物理机上 安装的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”}
求助