Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1434686

Summary: [UI] - 'Pinned Host' not available/not visible under VMs > Host Devices > 'Add Host Devices'
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: futureCC: bugs, mburman, michal.skrivanek, oourfali, tjelinek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-28 14:15:47 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:
Attachments:
Description Flags
record none

Description Michael Burman 2017-03-22 07:30:11 UTC
Created attachment 1265313 [details]
record

Description of problem:
[UI] - 'Pinned Host' not available/not visible under VMs > Host Devices > 'Add Host Devices'.

I wasn't sure if it's an ui bug or virt bug so forgive me if i was wrong.
'Pinned Host' not visible in the drop down list and it's host devices. 

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170321181523.gitd3665b3.el7.centos

How reproducible:
100

Steps to Reproduce:
1. GO to VM > 'HOst Devices' sub tab > 'Add Device' > 'Pinned Host'

Actual results:
NO host in the drop down list.
Host devices not available. 

Expected results:
Pinned Host must be available and visible and all it's host devices.

Comment 1 Tomas Jelinek 2017-03-27 08:30:07 UTC
It depends, we filter out all hosts which are not capable of passthrough. 

If you go to the host and run:

ls /sys/kernel/iommu_groups
ls /sys/class/iommu

does this return something? If not, than it is correct it is not there.

Comment 2 Michael Burman 2017-03-27 08:53:20 UTC
On Previous versions all hosts were available on the list(and non of my hosts return anything). 

Is it a new behaviour?

Comment 3 Tomas Jelinek 2017-03-28 14:15:47 UTC
yes, it is a new behavior: https://gerrit.ovirt.org/#/c/72789/
It allows you to select only hosts which are eligible for passthrough.

Comment 4 Michael Burman 2017-03-28 15:01:53 UTC
Ok, So why there is no tooltip or warning near the 'Pinned Host' filed letting the user/admin know that there is no available/ eligible host/s for passthorugh?
Why i can press the drop down list if it's empty? 
It's a bit confusing.

Comment 5 Tomas Jelinek 2017-04-26 13:20:59 UTC
ok, you are right.
This dialog will be touched anyway soon (certainly in 4.2 timeframe) we can enhance this experience. Added a note to https://trello.com/c/ugvsP989/47-mdev-vgpu to track it.