[SLA] can't start vm due to "host did not satisfy internal filter Memory."

Hi, I haven't got any trouble with ovirt for a long time but know I hit some wall: Situation: local storage DC with a single vm in it. ovirt-engine version 3.3.3 (yeah I know, old..) error i get: vm does not boot anymore. excerpt from engine.log: 2015-02-09 13:25:06,926 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--127.0.0.1-8702-14) Operation Failed: [Cannot run VM. There are no available running Hosts with sufficient memor y in VM's Cluster ., Cannot run VM. There is no host that satisfies current scheduling constraints. See bellow for details:, The host $REDACTED did not satisfy internal filter Memory.] and before this: 2015-02-09 13:25:06,914 INFO [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (ajp--127.0.0.1-8702-14) [41867e4b] Candidate host $REDACTED (efbc6306-d072-4601-a171-7dd79f169687) was filtered out by VAR __FILTERTYPE__INTERNAL filter Memory previously this vm could be started, the configuration was not altered. configuration: cluster: memory overcommitment: 200% host: ovirt reports 32068 MB physical memory vm was defined with max 32768 MB RAM and 16384 MB RAM guaranteed imho I should be able to start this vm. however it refused to start until I lowered the max ram to around 28 GB. I could provide full logs in private, if needed. I have other vms in other virtual DCs running fine with half this amount of ram, and more. the vm got created via REST. mom seems to work just fine. any help would be appreciated. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

Can you also provide value for "Max free Memory for scheduling new VMs" parameter, under REST max_scheduling_memory. ----- Original Message ----- From: "Sven Kieske" <s.kieske@mittwald.de> To: "users@ovirt.org List" <Users@ovirt.org> Sent: Tuesday, February 10, 2015 12:57:57 PM Subject: [ovirt-users] [SLA] can't start vm due to "host did not satisfy internal filter Memory." Hi, I haven't got any trouble with ovirt for a long time but know I hit some wall: Situation: local storage DC with a single vm in it. ovirt-engine version 3.3.3 (yeah I know, old..) error i get: vm does not boot anymore. excerpt from engine.log: 2015-02-09 13:25:06,926 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--127.0.0.1-8702-14) Operation Failed: [Cannot run VM. There are no available running Hosts with sufficient memor y in VM's Cluster ., Cannot run VM. There is no host that satisfies current scheduling constraints. See bellow for details:, The host $REDACTED did not satisfy internal filter Memory.] and before this: 2015-02-09 13:25:06,914 INFO [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (ajp--127.0.0.1-8702-14) [41867e4b] Candidate host $REDACTED (efbc6306-d072-4601-a171-7dd79f169687) was filtered out by VAR __FILTERTYPE__INTERNAL filter Memory previously this vm could be started, the configuration was not altered. configuration: cluster: memory overcommitment: 200% host: ovirt reports 32068 MB physical memory vm was defined with max 32768 MB RAM and 16384 MB RAM guaranteed imho I should be able to start this vm. however it refused to start until I lowered the max ram to around 28 GB. I could provide full logs in private, if needed. I have other vms in other virtual DCs running fine with half this amount of ram, and more. the vm got created via REST. mom seems to work just fine. any help would be appreciated. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 10/02/15 14:03, Artyom Lukianov wrote:
Can you also provide value for "Max free Memory for scheduling new VMs" parameter, under REST max_scheduling_memory.
sure: with the vm being launched with 28 GB max ram it is: Max free Memory for scheduling new VMs: 35617 MB Before it was way beyond that (I can't shutdown the vm now), obviously because of the 200% overcommitment on the cluster. So imho it should be fine running a vm with 32768 MB RAM defined. Thanks! -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

I checked a little in code, and we have some complicate formula for memory: memory_that_vm_need = host.mem_commited + host.pending_vmem_size + host.guest_overhead + host.reserved_mem + vm.guaranteed_memory you can check all parameters for host under vds_dynamic table in database, you can also enable debug logging under engine log t get more details(http://www.ovirt.org/OVirt_Engine_Development_Environment#Enable_DEBUG_log). I hope it will help you. Thanks ----- Original Message ----- From: "Sven Kieske" <s.kieske@mittwald.de> To: "Artyom Lukianov" <alukiano@redhat.com> Cc: "users@ovirt.org List" <Users@ovirt.org> Sent: Tuesday, February 10, 2015 3:29:13 PM Subject: Re: [ovirt-users] [SLA] can't start vm due to "host did not satisfy internal filter Memory." On 10/02/15 14:03, Artyom Lukianov wrote:
Can you also provide value for "Max free Memory for scheduling new VMs" parameter, under REST max_scheduling_memory.
sure: with the vm being launched with 28 GB max ram it is: Max free Memory for scheduling new VMs: 35617 MB Before it was way beyond that (I can't shutdown the vm now), obviously because of the 200% overcommitment on the cluster. So imho it should be fine running a vm with 32768 MB RAM defined. Thanks! -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On 02/10/2015 04:13 PM, Artyom Lukianov wrote:
I checked a little in code, and we have some complicate formula for memory: memory_that_vm_need = host.mem_commited + host.pending_vmem_size + host.guest_overhead + host.reserved_mem + vm.guaranteed_memory you can check all parameters for host under vds_dynamic table in database, you can also enable debug logging under engine log t get more details(http://www.ovirt.org/OVirt_Engine_Development_Environment#Enable_DEBUG_log). I hope it will help you. Thanks
----- Original Message ----- From: "Sven Kieske" <s.kieske@mittwald.de> To: "Artyom Lukianov" <alukiano@redhat.com> Cc: "users@ovirt.org List" <Users@ovirt.org> Sent: Tuesday, February 10, 2015 3:29:13 PM Subject: Re: [ovirt-users] [SLA] can't start vm due to "host did not satisfy internal filter Memory."
On 10/02/15 14:03, Artyom Lukianov wrote:
Can you also provide value for "Max free Memory for scheduling new VMs" parameter, under REST max_scheduling_memory. sure:
with the vm being launched with 28 GB max ram it is: Max free Memory for scheduling new VMs: 35617 MB
Before it was way beyond that (I can't shutdown the vm now), obviously because of the 200% overcommitment on the cluster.
So imho it should be fine running a vm with 32768 MB RAM defined.
Thanks!
Sven is that solved?

No, not really yet as I can't easily test this as this is a production vm which I can't reboot atm. I'll try to get a copy of this system in the dev environment and try to reproduce. Thanks for the help, so far. On 16/02/15 13:29, Roy Golan wrote:
Sven is that solved?
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
participants (3)
-
Artyom Lukianov
-
Roy Golan
-
Sven Kieske