Bug 1343870

Summary: cannot remove host device placeholder when removing whole group
Product: [oVirt] ovirt-engine Reporter: Martin Polednik <mpoledni>
Component: Frontend.WebAdminAssignee: Martin Betak <mbetak>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs, gklein, michal.skrivanek, nsimsolo
Target Milestone: ovirt-4.1.0-alphaFlags: rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+
Target Release: 4.1.0.2   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 15:06:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Polednik 2016-06-08 08:17:35 UTC
Description of problem:
Normally, no one should be able to remove host device placeholder (grey device, automatically assigned by engine). Exception to that is when user selects the whole IOMMU group incl. placeholders.

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

How reproducible:
Always

Steps to Reproduce:
1. Obtain a hardware with IOMMU group containing > 1 device,
2. assign one of the devices in IOMMU group,
3. from Virtual Machine -> Host Devices subtab, try to remove all devices in the same group.

Actual results:
Remove device is greyed out.

Expected results:
Remove device is not greyed out and removes whole group.

Additional info:

Comment 1 Sandro Bonazzola 2016-12-12 14:02:50 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 2 Nisim Simsolo 2017-02-05 13:33:55 UTC
verification  builds:
ovirt-engine-4.1.0.3-0.1.el7
libvirt-client-2.0.0-10.el7_3.4.x86_64
vdsm-4.19.4-1.el7ev.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.3.x86_64

Verification scenario: 
1. Add device which have another devices under the same IOMMU group. Verify all devices attached.
2. Mark all devices attached and verify "remove device" option is not grayed out.
3. Click "remove device" and verify all devices removed.