Bug 1444029

Summary: [RFE] Add functionality to add hosts to affinity groups
Product: [oVirt] ovirt-engine Reporter: Phillip Bailey <phbailey>
Component: Frontend.WebAdminAssignee: Phillip Bailey <phbailey>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0.2CC: bugs, dfediuck, mavital, stirabos
Target Milestone: ovirt-4.1.4Keywords: FutureFeature, Triaged
Target Release: 4.1.4.1Flags: dfediuck: ovirt-4.1?
rule-engine: planning_ack?
dfediuck: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-28 14:19:31 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:
Attachments:
Description Flags
New Affinity Groups Dialog (Empty)
none
New Affinity Groups Dialog (Filled)
none
Video Demo of New Affinity Groups Dialog none

Description Phillip Bailey 2017-04-20 13:02:14 UTC
Description of problem:
Currently, hosts can only be added to groups via the REST API, while VMs can be added via the webadmin UI. This RFE is to request that functionality be added to the affinity groups dialog to allow selection of hosts for inclusion in affinity groups.

Version-Release number of selected component (if applicable):
4.2.0

How reproducible:
Always

Steps to Reproduce:
1. Go to the 'Cluster' main tab
2. Select a Cluster
3. Click on the 'Affinity Groups' sub tab
4. Select 'New'

Actual results:
Only VMs can be added to the group.

Expected results:
VMs and hosts should be available for selection.

Comment 1 Phillip Bailey 2017-04-21 00:39:35 UTC
Created attachment 1273109 [details]
New Affinity Groups Dialog (Empty)

Comment 2 Phillip Bailey 2017-04-21 00:40:01 UTC
Created attachment 1273110 [details]
New Affinity Groups Dialog (Filled)

Comment 3 Phillip Bailey 2017-04-21 00:41:29 UTC
Created attachment 1273111 [details]
Video Demo of New Affinity Groups Dialog

Comment 4 Artyom 2017-07-16 12:08:32 UTC
Verified on rhevm-4.1.4.1-0.1.el7.noarch

1) Create new affinity group with different parameters(including adding of hosts and VM's)
2) Update affinity group with different parameters(including changing of hosts and VM's)
3) Remove affinity group
4) Add conflicting affinity groups