Change in ovirt-engine[master]: core: Affinity enforcer checks VMs on all hosts in a group

Code Review gerrit at ovirt.org
Fri May 26 10:04:43 UTC 2017


>From Martin Sivák <msivak at redhat.com>:

Martin Sivák has submitted this change and it was merged.

Change subject: core: Affinity enforcer checks VMs on all hosts in a group
......................................................................


core: Affinity enforcer checks VMs on all hosts in a group

Previously affinity enforcer tried to migrate VMs only
from a single chosen host. Now, if no VM can be migrated from one host,
it tries another.

Change-Id: I0b0e8f027707dc577785050d0b5c796c334ffe71
Bug-Url: https://bugzilla.redhat.com/1421771
Signed-off-by: Andrej Krejcir <akrejcir 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, 66 insertions(+), 99 deletions(-)

Approvals:
  Martin Sivák: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Andrej Krejcir: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0b0e8f027707dc577785050d0b5c796c334ffe71
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Andrej Krejcir <akrejcir at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list