ovirt-engine-deploy error
by hiroki.tamai.fu@nttdocomo.com
Hi, everyone.
This is my first time using ovirt and I encountered this error in ovirt-engine-deploy.
ERROR LOG
===========================================================================
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create ISO disk]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fix local VM directory permission]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create local VM]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["virt-install", "-n", "HostedEngineLocal", "--os-variant", "rhel8.0", "--virt-type", "kvm", "--memory", "16384", "--vcpus", "4", "--network", "network=default,mac=00:16:3e:7e:2b:e0,model=virtio", "--disk", "/var/tmp/localvm4swegum3/images/799d4506-f930-41ba-9c0d-1fe7af6af1bc/5d3a11a5-88c9-45d6-a3a6-e4819ce36702", "--import", "--disk", "path=/var/tmp/localvm4swegum3/seed.iso,device=cdrom", "--autoconsole", "text", "--rng", "/dev/random", "--graphics", "none", "--sound", "none", "--controller", "usb,model=none", "--memballoon", "none", "--boot", "hd,bootmenu.enable=on,bios.useserial=on", "--clock", "kvmclock_present=yes", "--serial=pty,log.file=/var/log/libvirt/qemu/HostedEngineLocal-console.log"], "delta": "0:00:01.611656", "end": "2024-12-04 08:55:40.844092", "msg": "non-zero return code", "rc": 1, "start": "2024-12-04 08:55:39.232436", "stderr": "ERROR Failed to connect socket to '/var/run/libvirt/virtnetworkd-soc
k': No such file or directory\nDomain installation does not appear to have been successful.\nIf it was, you can restart your domain by running:\n virsh --connect qemu:///system start HostedEngineLocal\notherwise, please restart your installation.", "stderr_lines": ["ERROR Failed to connect socket to '/var/run/libvirt/virtnetworkd-sock': No such file or directory", "Domain installation does not appear to have been successful.", "If it was, you can restart your domain by running:", " virsh --connect qemu:///system start HostedEngineLocal", "otherwise, please restart your installation."], "stdout": "\nStarting install...", "stdout_lines": ["", "Starting install..."]}
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
===========================================================================
I restored the virtnetworkd-sock file with reference to this ticket, but the deployment still fails with the same error.
https://github.com/crc-org/crc/issues/2839
If anyone has encountered a similar issue, could you please let me know how you resolved it?
Deploying with the Self-Hosted Engine and using ovirt4.5 el9.
Thank you.