Bug 1413361

Summary: Tracker bug for 6.2.8 dashboard enhancments
Product: Red Hat Satellite Reporter: Tomer Brisker <tbrisker>
Component: DashboardAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, bkearney, dlobatog, jcallaha, tbrisker, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-1.11.0.66-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1417133 (view as bug list) Environment:
Last Closed: 2017-03-06 08:37:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1232877, 1337483, 1353749, 1391365, 1417114    
Bug Blocks: 1417133    
Attachments:
Description Flags
role filters 1
none
role filters 2
none
verification screenshot 1
none
verification screenshot 2
none
verification screenshot 3 none

Description Tomer Brisker 2017-01-15 12:12:28 UTC

Comment 1 Satellite Program 2017-01-15 13:15:40 UTC
Upstream bug assigned to tbrisker

Comment 2 Satellite Program 2017-01-15 13:15:42 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17632 has been resolved.

Comment 4 Daniel Lobato Garcia 2017-01-27 08:50:29 UTC
Setting as triaged as there's a fix already upstream and a merge request downstream.

Comment 7 jcallaha 2017-02-23 16:39:04 UTC
Verified in Satellite 6.2.8 Snap 3. All the behavior expected from the linked bugs is in place. See below for individual verification details.

https://bugzilla.redhat.com/show_bug.cgi?id=1232877
===================================================
Verified in 6.2.8 by QE


https://bugzilla.redhat.com/show_bug.cgi?id=1337483
===================================================
In 6.2.8 Snap 3, clicking a section of the chart brings you to the hosts page with a custom search entered. Examples below. This correctly shows the hosts that you would expect to see when clicking on said chart portion.

URL
https://rhsm-qe-1.rhq.lab.eng.bos.redhat.com/hosts?search=last_report+%3E+%2235+minutes+ago%22+and+status.enabled+%3D+true+and+status.applied+%3D+0+and+status.failed+%3D+0+and+status.pending+%3D+0+and+puppet_proxy_id+%3D+%221%22
----
https://rhsm-qe-1.rhq.lab.eng.bos.redhat.com/hosts?search=last_report+%3C+%2235+minutes+ago%22+and+status.enabled+%3D+true+and+puppet_proxy_id+%3D+%224%22

Search
last_report > "35 minutes ago" and status.enabled = true and status.applied = 0 and status.failed = 0 and status.pending = 0 and puppet_proxy_id = "1"
----
last_report < "35 minutes ago" and status.enabled = true and puppet_proxy_id = "4"


https://bugzilla.redhat.com/show_bug.cgi?id=1391365
===================================================
In 6.2.8 Snap 3 I created a custom role with the filters seen in the attached images, then assigned that role to a new user. I then logged into that user and entered the search string "blah". There were no errors seen and the dashboard loaded correctly (verification screenshot 1). I then searched by a specific host collection and the results were filtered as expected (verification screenshot 2).


https://bugzilla.redhat.com/show_bug.cgi?id=1417114
===================================================
In 6.2.8 Snap 3 I reused the user and roles created for the bug above. I was then able to filter the dashboard by a specific compute resource, without errors (verification screenshot 3).

Comment 8 jcallaha 2017-02-23 16:40:21 UTC
Created attachment 1256981 [details]
role filters 1

Comment 9 jcallaha 2017-02-23 16:40:46 UTC
Created attachment 1256982 [details]
role filters 2

Comment 10 jcallaha 2017-02-23 16:41:06 UTC
Created attachment 1256983 [details]
verification screenshot 1

Comment 11 jcallaha 2017-02-23 16:41:24 UTC
Created attachment 1256984 [details]
verification screenshot 2

Comment 12 jcallaha 2017-02-23 16:41:41 UTC
Created attachment 1256985 [details]
verification screenshot 3

Comment 14 errata-xmlrpc 2017-03-06 08:37:15 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-2017:0447