Bug 1392393 - [RFE] Soft host to VM affinity support
Summary: [RFE] Soft host to VM affinity support
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
Blocks: 1404660 1427758
TreeView+ depends on / blocked
 
Reported: 2016-11-07 12:33 UTC by Martin Sivák
Modified: 2017-03-01 06:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Support for virtual machine to host affinity has been added. This enables users to create affinity groups for virtual machines to be associated with designated hosts. Virtual machine host affinity can be disabled or enabled on request. Virtual machine to host affinity is useful in the following scenarios: - Hosts with specific hardware are required by certain virtual machines. - Virtual machines that form a logical management unit can be run on a certain set of hosts for SLA or management. For example a separate rack for each customer. - Virtual machines with licensed software must run on specific physical machines to avoid scheduling virtual machines to hosts that need to be decommissioned or upgraded.
Clone Of:
: 1404660 (view as bug list)
Environment:
Last Closed: 2017-02-16 14:05:49 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.1+
alukiano: testing_plan_complete+
mgoldboi: planning_ack+
dfediuck: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 66394 0 master MERGED core: Soft host to VM affinity support structure 2016-12-05 10:47:32 UTC
oVirt gerrit 67461 0 master MERGED core: VM to host affinity scheduling policies 2016-12-07 16:26:38 UTC
oVirt gerrit 67889 0 master MERGED Add AffinityGroupRule type and support for hosts in affinity groups 2016-12-09 11:24:59 UTC
oVirt gerrit 67942 0 master MERGED core : Add VM affinity enabled check to policy unit 2016-12-07 15:16:44 UTC
oVirt gerrit 68066 0 master MERGED restapi: Update the mappers for AffinityGroup to fully utilize the new model 2016-12-14 10:18:37 UTC
oVirt gerrit 68326 0 master MERGED core: Set false values to disabled affinity 2016-12-14 09:56:39 UTC
oVirt gerrit 68622 0 master MERGED webadmin: Add disabled VM affinity rule option 2016-12-16 21:19:48 UTC
oVirt gerrit 68930 0 master MERGED core: Fix VM to hosts scheduling policies 2016-12-25 09:16:32 UTC
oVirt gerrit 68935 0 ovirt-engine-4.1 MERGED core: Fix VM to hosts scheduling policies 2016-12-22 10:04:17 UTC

Description Martin Sivák 2016-11-07 12:33:06 UTC
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.

Comment 1 Red Hat Bugzilla Rules Engine 2016-11-08 07:31:06 UTC
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.

Comment 2 Martin Sivák 2016-12-05 10:56:43 UTC
The merged patch was not the only one that needs to get in.

Comment 3 Yanir Quinn 2016-12-08 09:05:53 UTC
Additional patches will be added.

Comment 4 Martin Sivák 2016-12-14 11:41:08 UTC
Lets use this bug to track general Host affinity only.

Comment 5 Yaniv Lavi 2016-12-14 16:24:35 UTC
This bug had requires_doc_text flag, yet no documentation text was provided. Please add the documentation text and only then set this flag.

Comment 6 Artyom 2017-02-16 08:45:59 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.