Bug 1404660 - VM affinity: enforcement mechanism adjustments
Summary: VM affinity: enforcement mechanism adjustments
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.0.5.5
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.1.0-beta
: 4.1.0.2
Assignee: Yanir Quinn
QA Contact: Artyom
URL:
Whiteboard:
Depends On: 1306263 1392393 1410040
Blocks: 723056 1427758
TreeView+ depends on / blocked
 
Reported: 2016-12-14 11:38 UTC by Martin Sivák
Modified: 2017-03-01 06:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
This feature adds rule enforcement support for VM to host affinity. VM to host affinity groups require the affinity rule enforcer to handle them in addition to the existing enforcement of VM to VM affinity. The rule enforcer will now be able to find VM to host affinity violations and choose a VM to migrate according to these violations.
Clone Of: 1392393
Environment:
Last Closed: 2017-02-16 14:05:56 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.1+
mavital: testing_plan_complete-
mgoldboi: planning_ack+
msivak: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 68104 0 master MERGED core: Affinity Rules Enforcer VM to hosts support 2021-02-08 19:59:13 UTC
oVirt gerrit 69015 0 master MERGED scheduling: Fix AREM logic for host affinity 2021-02-08 19:59:13 UTC
oVirt gerrit 69369 0 master MERGED core: Add host affinity check in host maintenance. 2021-02-08 19:59:13 UTC
oVirt gerrit 69436 0 ovirt-engine-4.1 MERGED scheduling: Fix AREM logic for host affinity 2021-02-08 19:59:13 UTC
oVirt gerrit 69497 0 ovirt-engine-4.1 MERGED core: Add host affinity check in host maintenance. 2021-02-08 19:59:13 UTC

Description Martin Sivák 2016-12-14 11:38:56 UTC
+++ This bug was initially created as a clone of Bug #1392393 +++

Certain set of VMs form a logical management unit and should run on a certain set of hosts for SLA or management (e.g. a separate rack for each customer). The VMs can run anywhere in case the dedicated rack needs to be turned off, but should return to their dedicated hosts once the rack is back up.

This would be best implemented by enhancing the current VM to VM soft affinity rules to support hosts as well. The other piece that is needed is to add affinity based balancing operation to allow the VMs to return to the proper host when it becomes available.

--- Additional comment from Red Hat Bugzilla Rules Engine on 2016-11-08 08:31:06 CET ---

Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

--- Additional comment from Martin Sivák on 2016-12-05 11:56:43 CET ---

The merged patch was not the only one that needs to get in.

--- Additional comment from Yanir on 2016-12-08 10:05:53 CET ---

Additional patches will be added.

Comment 1 Martin Sivák 2017-01-02 16:38:53 UTC
There is a bug in the current AREM logic, we are working on it.

Comment 2 Artyom 2017-02-16 08:46:09 UTC
Verified on the rhevm-4.1.1-0.1.el7.noarch
According to the polarion plan.


Note You need to log in before you can comment on or make changes to this bug.