
I've been trying to get oVirt working for a week now with a self-hosted engine setup. Eventually, today, I decided to try a standalone engine and see if I can't at least get that to work, to maybe figure out what the issue is. It seems the default chipset type is Q35 with BIOS. But it fails to boot a VM. I'm not sure where to even look in the logs for this. The VM just never comes up, even though it's shown as being up in the oVirt administration page. I found similar symptoms when trying to set up a hosted-engine on the same machine. The VM would fail health check, and hosted-engine --vm-status would show the VM as up, but health check failing. The VM wasn't available over the network and it never pulled a DHCP lease from my router. I've looked at the logs pretty extensively and couldn't find anything to indicate what the cause of the problem was, or that this was even the problem in the first place. As far as the logs seem to be concerned, the VM is running fine, and it's a network issue.

To add, it was pretty clear the VM never came up just by looking at top/htop. qemu-kvm was using negligible (0.7% of a core) CPU. I'm 99% certain this is the cause of my woes. Using Q35 with UEFI should be fine, as most systems are fine booting from UEFI. However, I'd like to have the option to use the BIOS version in case it is needed for some reason. I'd also like to know how I can override the default chipset type when using hosted-engine --deploy, if at all possible, to work around this.

"mediocre.slacker--- via Users" <users@ovirt.org> writes:
To add, it was pretty clear the VM never came up just by looking at top/htop. qemu-kvm was using negligible (0.7% of a core) CPU. I'm 99% certain this is the cause of my woes. Using Q35 with UEFI should be fine, as most systems are fine booting from UEFI. However, I'd like to have the option to use the BIOS version in case it is needed for some reason.
Do you have QEMU 6.1? If yes then you've probably hit https://gitlab.com/qemu-project/qemu/-/issues/641. Regards, Milan

Yes. It appears CentOS Stream installs QEMU 6.1.0 when installing ovirt-hosted-engine-setup.

Installing on CentOS 8.5 brings QEMU 6.0. Guess we use CentOS until RHEL 8.6 is released, Rocky/Alma Linux update to 8.6, and oVirt is viable on those distros.
participants (2)
-
mediocre.slacker@protonmail.com
-
Milan Zamazal