Change in ovirt-engine[ovirt-engine-3.6]: scheduler: Select first schedulable VM from candidate pool

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Mon Sep 14 07:28:31 UTC 2015


Piotr Kliczewski has submitted this change and it was merged.

Change subject: scheduler: Select first schedulable VM from candidate pool
......................................................................


scheduler: Select first schedulable VM from candidate pool

When enforcing affinity groups, the enforcer should check every possible
candidate until it finds the first schedulable migration instead of
choosing one possible candidate randomly and do nothing if the migration
of that candidate is not schedulable.

Bug-Url: https://bugzilla.redhat.com/1251742
Change-Id: Icd7d039a49252028f8ce14b5ddcb3e9183e62e9a
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/arem/AffinityRulesEnforcer.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/scheduling/arem/AffinityRulesEnforcerTest.java
2 files changed, 77 insertions(+), 38 deletions(-)

Approvals:
  Roman Mohr: Verified
  Jenkins CI: Passed CI tests
  Roy Golan: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/45987
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd7d039a49252028f8ce14b5ddcb3e9183e62e9a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list