Bug 1994679

Summary: Host - Last Checkin report template is not showing any other content host apart from Red Hat Satellite itself.
Product: Red Hat Satellite Reporter: Kshitij <kupadhya>
Component: ReportingAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: high Docs Contact:
Priority: high    
Version: 6.10.0CC: ahumbe, lvrtelov, mhulan, pcreech, saydas, smallamp, zhunting
Target Milestone: 6.11.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman-3.1.1.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:29:34 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 Kshitij 2021-08-17 16:46:33 UTC
Description of problem:

Generating a report using the Host - Last Checkin report template is not including all the content hosts.

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

6.10

How reproducible:


Steps to Reproduce:
 On Satellite Web UI >> Monitor >> Report Template >> Host - Last Checkin >> Generate



Actual results:

Only Satellite is included in the actual CSV file which does not have the last checkin field.

Expected results:

The report should include all the hosts.

Comment 6 Sudhir Mallamprabhakara 2021-09-28 00:05:05 UTC
Based on the above comments, this is NOT a regression - correct??

Comment 12 Marek Hulan 2022-04-25 12:38:06 UTC
Created redmine issue https://projects.theforeman.org/issues/34809 from this bug

Comment 13 Bryan Kearney 2022-04-25 16:04:19 UTC
Upstream bug assigned to mhulan

Comment 14 Bryan Kearney 2022-04-25 16:04:21 UTC
Upstream bug assigned to mhulan

Comment 15 Bryan Kearney 2022-04-27 12:04:14 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34809 has been resolved.

Comment 16 Lukáš Hellebrandt 2022-05-31 14:21:59 UTC
Verified with Sat 6.11 snap 22.0.

Report template's description now reads:
```
This report lists hosts that haven't checked in in the specified interval (by default
5 hours). By default it also includes hosts we don't have last check information for.
The check in is based on the subscription manager communication.
```
I think this describes the functionality of the report very well.

Note that in comment 4, Marek states `I think we should add a description to every report and display that in the UI when rendering`. None of that happened but I think it's out of the scope of this BZ.

Comment 19 errata-xmlrpc 2022-07-05 14:29:34 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 (Moderate: Satellite 6.11 Release), 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/RHSA-2022:5498