Oved Ourfali has submitted this change and it was merged.
Change subject: core: loadbalancing: prevent VM bounces between hosts
......................................................................
core: loadbalancing: prevent VM bounces between hosts
When balancing a cluster, the balancing logic should return
a VM and acceptable hosts, while filtering those hosts
the scheduler#balance doesn't take into account the predicted VM CPU load.
This may result in a VM bouncing between 2 hosts (if VM consumes
all the CPU resources on both hosts).
Change-Id: I6beebf4324bfa5218d9617619b350fb9a2de56d3
Bug-Url:
https://bugzilla.redhat.com/1043233
Signed-off-by: Gilad Chaplik <gchaplik(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/EvenDistributionBalancePolicyUnit.java
1 file changed, 38 insertions(+), 6 deletions(-)
Approvals:
Gilad Chaplik: Verified
Arik Hadas: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/26151
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6beebf4324bfa5218d9617619b350fb9a2de56d3
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server