Bug 1320131

Summary: expanding a fact does not maintain search making it impossible to find values
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: FactAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, jcallaha, mhulan, sthirugn, szadok
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14313
Whiteboard:
Fixed In Version: foreman-1.11.0.28-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:32:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
List per host. Clicking on one will lead to host specific (next attachment)
none
Host specific fact values none

Description Tom McKay 2016-03-22 11:39:09 UTC
For facts with hierarchy it is not possible to narrow down the values shown. For example, a system registering with subscription-manager has many groupings of facts (dmi, distribution, net, lscpu, etc.), each of which is shown with the "+" symbol to click on to drill down into that group. The problem is that when looking at a single host via search (eg. name = laptop.usersys.redhat.com), clicking the "+" brings you to a page with facts in that group for _all_ hosts, not he one searched for. When there are more than a few hosts this generates pages of data. Entering the search again in attempt to reduce the values shown brings you back to the top level of facts.

Comment 1 Tom McKay 2016-03-22 11:39:11 UTC
Created from redmine issue http://projects.theforeman.org/issues/14313

Comment 3 Bryan Kearney 2016-03-22 12:01:14 UTC
Upstream bug component is Fact

Comment 4 Tom McKay 2016-04-13 12:00:11 UTC
Fact UI largely unusable with even a small number of systems. Since the facts have been removed from the content host UI details page and replaced by the facts UI, I would consider this a blocker.

Comment 6 Bryan Kearney 2016-05-12 22:15:11 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14313 has been closed

Comment 7 Shlomi Zadok 2016-05-23 11:29:20 UTC
Created attachment 1160541 [details]
List per host. Clicking on one will lead to host specific (next attachment)

Comment 8 Shlomi Zadok 2016-05-23 11:30:02 UTC
Created attachment 1160543 [details]
Host specific fact values

Comment 10 jcallaha 2016-05-24 17:39:22 UTC
Verified in Satellite 6.2 Beta Snap 12.

Expanding facts now maintains the search scope, allowing a true expansion of the host's facts.

Comment 11 Bryan Kearney 2016-07-27 11:32:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501