Bug 2103757 - [RFE] Create Satellite report to help customers "true up"
Summary: [RFE] Create Satellite report to help customers "true up"
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: wclark
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-04 18:42 UTC by Jessica Richards
Modified: 2023-08-02 00:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-15235 0 None None None 2023-04-07 17:03:20 UTC
Red Hat Knowledge Base (Article) 6365831 0 None None None 2022-07-04 18:49:25 UTC

Description Jessica Richards 2022-07-04 18:42:27 UTC
1. Proposed title of this feature request

[RFE] Create Satellite report to help customers "true up"

3. What is the nature and description of the request?

With Simple Content Access enabled, the built-in Report Template "Subscription - Entitlement Report" is empty.  Soon, SCA will become mandatory, so customers who are interested in honestly reporting subscription numbers to Red Hat will no longer have a reliable "out of the box" way to count their product consumption.

4. Why does the customer need this? (List the business requirements here)

Some customers like to pay Red Hat money for our services.

5. How would the customer like to achieve this? (List the functional requirements here)

Add new template under Monitor > "Report Templates" named "Red Hat Product usage" that lists the products on registered hosts.

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

- run the report
- confirm that it contains the same hosts as are present in Hosts > "Content Hosts"
- check each host in the list to confirm that the products present on each host are also present in the report

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

no

8. Does the customer have any specific time-line dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

It probably shouldn't be guaranteed to properly list products installed on non-RHEL platforms.

9. Is the sales team involved in this request and do they have any additional input?

no

10. List any affected packages or components.

foreman

11. Would the customer be able to assist in testing this functionality if implemented?

yes

Comment 2 Jessica Richards 2022-07-04 19:44:10 UTC
This appears to work on both my Satellite 6.9 and 6.10 servers:

<%- load_hosts.each_record do |hostname| -%>
<%-   report_row(
        'hostname': hostname.name,
        'products': host_products_names(hostname)
      ) -%>
<%- end -%>
<%= report_render -%>


Note You need to log in before you can comment on or make changes to this bug.