Bug 1691500

Summary: Hosts are not showing when click on "Host with no reports" on dashboard page.
Product: Red Hat Satellite Reporter: Rudnei Bertol Jr. <rbertolj>
Component: DashboardAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Radovan Drazny <rdrazny>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.2CC: gtaylor, mhulan, pmoravec, sgraessl
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
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: 2019-04-08 07:56:26 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:

Description Rudnei Bertol Jr. 2019-03-21 18:25:24 UTC
Description of problem:

Host Configuration Status Widget on the Dashboard, when clicked at "Host with no reports" the query is not showing the expected hosts.

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

How reproducible:

On Satellite 6.4.2 WebUI go to:

Monitor > Dashboard > Click on "Hosts with no reports" on the "Host Configuration Status" widget.

Actual results:

When clicked on the "Hosts with no reports" the query on the 'hosts' is 'last_report > "30 minutes ago" and not has last_report and status.enabled = true', this search option 'last_report > "30 minutes ago"' search for hosts that have a report but not in the last 30 minutes, this search conflict with the next search 'not has last_report'.

Expected results:

The query on should be 'not has last_report and status.enabled =  true' instead of 'last_report > "30 minutes ago" and not has last_report and status.enabled = true'

Comment 3 Pavel Moravec 2019-04-08 07:56:26 UTC
duplicate of 1631219 that is fixed in 6.5

*** This bug has been marked as a duplicate of bug 1631219 ***