Can't start VM because host has insufficient amount of CPU cores

Hi I just upgraded my oVirt installation from 4.4.10 to 4.5.1.2. The upgrade went through without any errors and most things seem to work but i have one critical problem now. Somehow it does not evaluate the correct number of CPU available on the hypervisor and blocks the start of a VM (except for the engine). The problem I only have on the hypervisor which has the engine deployed. I have three hypervisors, but only one has the engine installed. This hypervisor is also in a seperate cluster. After the upgrade, on the hypervisor which has the engine installed, I can't start a VM via the oVirt Manager. I can start the engine via "hosted-engine --vm-start" but if I try to start any other VM it fails with this Error: https://imgur.com/7lbGb8v -------------------------------------------------------------------------------------------------------- Operation Canceled Error while executing action: Razor: Cannot run VM. There is no host that satisfies current scheduling constraints. See below for details: The host venge did not satisfy internal filter CPU because it has an insufficient amount of CPU cores to run the VM. -------------------------------------------------------------------------------------------------------- I did not change any specs for the VM and even if I reduce the VM to only use 1 core it fails with the error above. This are the specs of my hypervisor, it has 2 cores with 2 threads: https://imgur.com/rbJnqP3 This is the ovirt version installed https://imgur.com/4LLTVFN Does someone know how to fix this? Regards

On Tue, Jun 28, 2022 at 8:29 PM Ramon Clematide <ramon@clematide.ch> wrote:
Hi
I just upgraded my oVirt installation from 4.4.10 to 4.5.1.2. The upgrade went through without any errors and most things seem to work but i have one critical problem now. Somehow it does not evaluate the correct number of CPU available on the hypervisor and blocks the start of a VM (except for the engine). The problem I only have on the hypervisor which has the engine deployed. I have three hypervisors, but only one has the engine installed. This hypervisor is also in a seperate cluster.
After the upgrade, on the hypervisor which has the engine installed, I can't start a VM via the oVirt Manager. I can start the engine via "hosted-engine --vm-start" but if I try to start any other VM it fails with this Error:
-------------------------------------------------------------------------------------------------------- Operation Canceled Error while executing action:
Razor: Cannot run VM. There is no host that satisfies current scheduling constraints. See below for details: The host venge did not satisfy internal filter CPU because it has an insufficient amount of CPU cores to run the VM. --------------------------------------------------------------------------------------------------------
I did not change any specs for the VM and even if I reduce the VM to only use 1 core it fails with the error above.
This are the specs of my hypervisor, it has 2 cores with 2 threads:
This is the ovirt version installed
Does someone know how to fix this?
Sounds like https://bugzilla.redhat.com/2095259 but since the fix for that one is included in the version you use, I assume that's a different issue Lucia, can you please follow up on this?
Regards _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E3LAOVNSKKCLCP...

Hi Ramon, Could you please share the following details? - what is the cluster's countThreadsAsCores setting (Edit Cluster dialog -> Optimization tab) - what is the VM's CPU topology for both VMs - running and failed (Edit VM -> System tab -> Advanced parameters) - a screenshot of the host's CPU topology (Host detail -> Host devices tab -> View CPU Pinning button) - what is in the engine.log (you need to enable DEBUG messages to see details why the host was filtered out) Thank you, Lucia On Tue, Jun 28, 2022 at 11:35 PM Arik Hadas <ahadas@redhat.com> wrote:
On Tue, Jun 28, 2022 at 8:29 PM Ramon Clematide <ramon@clematide.ch> wrote:
Hi
I just upgraded my oVirt installation from 4.4.10 to 4.5.1.2. The
upgrade went through without any errors and most things seem to work but i have one critical problem now. Somehow it does not evaluate the correct number of CPU available on the hypervisor and blocks the start of a VM (except for the engine). The problem I only have on the hypervisor which has the engine deployed. I have three hypervisors, but only one has the engine installed. This hypervisor is also in a seperate cluster.
After the upgrade, on the hypervisor which has the engine installed, I
can't start a VM via the oVirt Manager. I can start the engine via "hosted-engine --vm-start" but if I try to start any other VM it fails with this Error:
--------------------------------------------------------------------------------------------------------
Operation Canceled Error while executing action:
Razor: Cannot run VM. There is no host that satisfies current scheduling constraints. See below for details: The host venge did not satisfy internal filter CPU because it has an insufficient amount of CPU cores to run the VM.
--------------------------------------------------------------------------------------------------------
I did not change any specs for the VM and even if I reduce the VM to
only use 1 core it fails with the error above.
This are the specs of my hypervisor, it has 2 cores with 2 threads:
This is the ovirt version installed
Does someone know how to fix this?
Sounds like https://bugzilla.redhat.com/2095259 but since the fix for that one is included in the version you use, I assume that's a different issue Lucia, can you please follow up on this?
Regards _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E3LAOVNSKKCLCP...

Hi Lucia Thank you. countThreadsAsCores setting was off. After turning it on, I could start the VM. Host CPU pinning: https://imgur.com/RXNRMOq VM CPU topology: https://imgur.com/UmQUVid But with countThreadsAsCores=off, it blocked the VM start even after I reduced the VM topology to 1 socket / 1 CPU / 1 thread Regards Ramon
participants (3)
-
Arik Hadas
-
Lucia Jelinkova
-
Ramon Clematide