Gilad Chaplik has submitted this change and it was merged.
Change subject: core: positive affinity breaks maintenancing a host
......................................................................
core: positive affinity breaks maintenancing a host
I feel that this is best to describe with an example: vm1, vm2 running
with enforcing positive affinity group on host A.
When putting host A to maintenance, both VMs will try to migrate,
and fail because they're violating the affinity constraints.
the host is stuck on preparing for maint.
The fix ignores the host when it's in preparing for maint status.
Change-Id: I7282a9e1c87b30c14869170ed7fb5b9276fad33e
Bug-Url:
https://bugzilla.redhat.com/1084794
Signed-off-by: Gilad Chaplik <gchaplik(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/VmAffinityFilterPolicyUnit.java
1 file changed, 9 insertions(+), 6 deletions(-)
Approvals:
Martin Sivák: Looks good to me, but someone else must approve
Gilad Chaplik: Verified
Arik Hadas: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/26623
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7282a9e1c87b30c14869170ed7fb5b9276fad33e
Gerrit-PatchSet: 4
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: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server