Bug 1404660

Summary: VM affinity: enforcement mechanism adjustments
Product: [oVirt] ovirt-engine Reporter: Martin Sivák <msivak>
Component: Backend.CoreAssignee: Yanir Quinn <yquinn>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: high    
Version: 4.0.5.5CC: alukiano, bugs, dfediuck, mavital, mgoldboi, trichard, yquinn
Target Milestone: ovirt-4.1.0-betaKeywords: Triaged
Target Release: 4.1.0.2Flags: rule-engine: ovirt-4.1+
mavital: testing_plan_complete-
mgoldboi: planning_ack+
msivak: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: 1392393 Environment:
Last Closed: 2017-02-16 14:05:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1306263, 1392393, 1410040    
Bug Blocks: 723056, 1427758    

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.