ovirt 配置engine失败,求助!!!

lpc 5人参与 0 次点击

[ INFO ] TASK [ovirt.hosted_engine_setup : Create local VM]

[ INFO ] changed: [localhost]

[ INFO ] TASK [ovirt.hosted_engine_setup : Get local VM IP]

[ ERROR ] fatal: [localhost]: FAILED! => {“attempts”: 90, “changed”: true, “cmd”: “virsh -r net-dhcp-leases default | grep -i 00:16:3e:03:01:30 | awk ‘{ print $5 }’ | cut -f1 -d’/'”, “delta”: “0:00:00.050951”, “end”: “2020-04-23 09:57:00.043571”, “rc”: 0, “start”: “2020-04-23 09:56:59.992620”, “stderr”: “”, “stderr_lines”: [], “stdout”: “”, “stdout_lines”: []}

[ 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”}

    7 讨论 | 直到 2022-05-19 10:17:43
  • 井达clouds
    1

    是否是在vmware里部署的?

  • lpc
    2

    井达clouds 是的,参考的本站教程 ALL in one,都部署在一台VMware虚拟机里

  • 井达clouds
    3

    lpc 这个需要修改些文件再部署,我待会整理下。

  • 井达clouds
    4

    lpc 部署之前,在

    /usr/share/ansible/roles/ovirt.hosted-engine-setup/tasks/bootstrap_local_vm/02_create_local_vm.yml里找到

    virt-install ,在Local后面加 –machine pc-i440fx-rhel7.0.0

    先改改试试吧。

  • 卡萨
    5

    ovirt engine 启动失败

    [root@ovirt-node-03 ~]# virsh start HostedEngine
    Please enter your authentication name: vdsm@ovirt
    Please enter your password:
    error: Failed to start domain HostedEngine
    error: Network not found: no network with matching name ‘vdsm-ovirtmgmt’

  • xiao
    6

    井达clouds 你好,我是在kvm虚拟环境下嵌套的,也是报这个错误,–machine pc-i440fx-rhel7.0.0 后面的数字是什么含义,需要根据什么做调整

  • 咕叽
    7

    vmware workstation 16pro搭建hostengine方式,出现下面报错,咋搞啊。已经根据提示吧/etc/yum.repos.d/删除。

    [ ERROR ] fatal: [localhost -> OvirtEngine15.lab.com]: FAILED! => {“changed”: false, “msg”: “Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist”, “rc”: 1, “results”: []}

    [ ERROR ] fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “There was a failure deploying the engine on the local engine VM. 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”}