
Hi, We're running oVirt 4.3.2. When we click on the "Migrate" button over a VM, an error popup shows up and in the ovirt-engine log we see: 2019-04-03 12:37:40,897+01 ERROR [org.ovirt.engine.core.bll.GetValidHostsForVmsQuery] (default task-6) [478381f0-18e3-4c96-bcb5-aafd116d7b7a] Query 'GetValidHostsForVmsQuery' failed: null I'm attaching the full NPE. Could someone point out what could be the reason for the NPE? Thanks.

Hi, The NPE is because the CPU load of a VM is missing. It happens when the VM statistics are not updated. This is definitely a bug, missing CPU load should not prevent migration. I will open a Bugzilla ticket. Can you share some more details about the VMs? Does the NPE happen for all VMs or only some specific types? Thanks, Andrej On Wed, 3 Apr 2019 at 13:45, <nicolas@devels.es> wrote:
Hi,
We're running oVirt 4.3.2. When we click on the "Migrate" button over a VM, an error popup shows up and in the ovirt-engine log we see:
2019-04-03 12:37:40,897+01 ERROR [org.ovirt.engine.core.bll.GetValidHostsForVmsQuery] (default task-6) [478381f0-18e3-4c96-bcb5-aafd116d7b7a] Query 'GetValidHostsForVmsQuery' failed: null
I'm attaching the full NPE.
Could someone point out what could be the reason for the NPE?
Thanks._______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/VZWPQR34DDQMTD...

Hi Andrej, I missed to point a fact that is probably determining. Prior to noticing the error, we upgraded the Cluster & Data Center compatibility version from 4.1 to 4.3, which caused ovirt-engine to automatically edit all VMs and modify their compatibility versions as well (with changes pending until next reboot). So if we powered down the VM, edited the VM, saved it (even without changes) and powered it up, migrations would work again. This happened with all affected machines. If you need some additional info, just ask. Thanks. El 2019-04-04 17:03, Andrej Krejcir escribió:
Hi,
The NPE is because the CPU load of a VM is missing. It happens when the VM statistics are not updated.
This is definitely a bug, missing CPU load should not prevent migration. I will open a Bugzilla ticket.
Can you share some more details about the VMs? Does the NPE happen for all VMs or only some specific types?
Thanks, Andrej
On Wed, 3 Apr 2019 at 13:45, <nicolas@devels.es> wrote:
Hi,
We're running oVirt 4.3.2. When we click on the "Migrate" button over a VM, an error popup shows up and in the ovirt-engine log we see:
2019-04-03 12:37:40,897+01 ERROR [org.ovirt.engine.core.bll.GetValidHostsForVmsQuery] (default task-6) [478381f0-18e3-4c96-bcb5-aafd116d7b7a] Query 'GetValidHostsForVmsQuery' failed: null
I'm attaching the full NPE.
Could someone point out what could be the reason for the NPE?
Thanks._______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ [1] oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ [2] List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VZWPQR34DDQMTD...
[3]
Links: ------ [1] https://www.ovirt.org/site/privacy-policy/ [2] https://www.ovirt.org/community/about/community-guidelines/ [3] https://lists.ovirt.org/archives/list/users@ovirt.org/message/VZWPQR34DDQMTD...

Thanks for the info. Here is the Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1696621 Andrej On Fri, 5 Apr 2019 at 10:22, <nicolas@devels.es> wrote:
Hi Andrej,
I missed to point a fact that is probably determining. Prior to noticing the error, we upgraded the Cluster & Data Center compatibility version from 4.1 to 4.3, which caused ovirt-engine to automatically edit all VMs and modify their compatibility versions as well (with changes pending until next reboot).
So if we powered down the VM, edited the VM, saved it (even without changes) and powered it up, migrations would work again.
This happened with all affected machines.
If you need some additional info, just ask.
Thanks.
El 2019-04-04 17:03, Andrej Krejcir escribió:
Hi,
The NPE is because the CPU load of a VM is missing. It happens when the VM statistics are not updated.
This is definitely a bug, missing CPU load should not prevent migration. I will open a Bugzilla ticket.
Can you share some more details about the VMs? Does the NPE happen for all VMs or only some specific types?
Thanks, Andrej
On Wed, 3 Apr 2019 at 13:45, <nicolas@devels.es> wrote:
Hi,
We're running oVirt 4.3.2. When we click on the "Migrate" button over a VM, an error popup shows up and in the ovirt-engine log we see:
2019-04-03 12:37:40,897+01 ERROR [org.ovirt.engine.core.bll.GetValidHostsForVmsQuery] (default task-6) [478381f0-18e3-4c96-bcb5-aafd116d7b7a] Query 'GetValidHostsForVmsQuery' failed: null
I'm attaching the full NPE.
Could someone point out what could be the reason for the NPE?
Thanks._______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ [1] oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ [2] List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VZWPQR34DDQMTD...
[3]
Links: ------ [1] https://www.ovirt.org/site/privacy-policy/ [2] https://www.ovirt.org/community/about/community-guidelines/ [3]
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VZWPQR34DDQMTD...
participants (2)
-
Andrej Krejcir
-
nicolas@devels.es