问题描述
安装hosted engine的时候报错:
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 90, "changed": true, "cmd": "virsh -r net-dhcp-leases default | grep -i 00:16:3e:2d:95:85 | awk '{ print $5 }' | cut -f1 -d'/'", "delta": "0:00:00.064421", "end": "2020-12-02 14:31:11.628892", "rc": 0, "start": "2020-12-02 14:31:11.564471", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
问题解决
ovirt的问题,网上有很少解决的文章,这次也是很久才搞定
vi /usr/share/ansible/roles/ovirt.hosted-engine-setup/tasks/bootstrap_local_vm/02_create_local_vm.yml
找到找到“virt-install”的部分,添加
--machine pc-i440fx-rhel7.1.0
~点个赞再走吧~