Gilad Chaplik 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:
Martin Sivák: Looks good to me, but someone else must approve
Jiří Moskovčák: Looks good to me, but someone else must approve
Gilad Chaplik: Verified
Arik Hadas: Looks good to me, approved
Kobi Ianko: Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/22454
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6beebf4324bfa5218d9617619b350fb9a2de56d3
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Jiří Moskovčák <jmoskovc(a)redhat.com>
Gerrit-Reviewer: Kobi Ianko <kobi(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server