Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1981444 - "Subscription - Entitlement Report" does not show correct number of subscriptions attached/consumed
Summary: "Subscription - Entitlement Report" does not show correct number of subscript...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.9.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: 6.12.0
Assignee: Ian Ballou
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-12 14:44 UTC by Julio Entrena Perez
Modified: 2022-11-16 13:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:32:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34609 0 Normal Closed "Subscription - Entitlement Report" does not show correct number of subscriptions attached/consumed 2022-03-21 15:44:50 UTC
Foreman Issue Tracker 34610 0 Normal Closed "Subscription - Entitlement Report" does not show correct number of subscriptions attached/consumed 2022-03-21 15:44:48 UTC
Red Hat Issue Tracker SAT-8722 0 None None None 2022-10-21 15:29:24 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:32:52 UTC

Description Julio Entrena Perez 2021-07-12 14:44:42 UTC
Description of problem:
"Subscription - Entitlement Report" in Satellite 6.9.3 generates bogus numbers for columns "Subscription Quantity" and "Subscriptions consumed".

Version-Release number of selected component (if applicable):
Satellite 6.9.3
foreman-2.3.1.21-1.el7sat

How reproducible:
Always

Steps to Reproduce:
1. Attach different amounts of multiple Red Hat and custom subscriptions to a host
2. Generate a report from Monitor -> Report Templats -> "Subscription - Entitlement Report" -> Generate
3. Compare values in columns "Subscription Quantity" and "Subscriptions Consumed" with actual number of subscriptions attached to host

Actual results:
Numbers don't match

Expected results:
Numbers match

Additional info:

Comment 2 Marek Hulan 2021-07-13 08:33:31 UTC
Moving to a component that better fits, Reporting is for general bugs in the reporting engine, not specific reports.

Comment 3 Julio Entrena Perez 2021-07-13 09:12:07 UTC
(In reply to Marek Hulan from comment #2)
> Moving to a component that better fits, Reporting is for general bugs in the
> reporting engine, not specific reports.

Previous bugs to try to address this (bug 1834866, bug 1835189 and bug 1835690) were assigned to Reporting component. Is there any reason why this one shouldn't?

Comment 4 Marek Hulan 2021-07-20 05:55:59 UTC
BZ 1834866 - Allowing registered_at access in reporting engine touches the whole engine, not specific report, you can use it in all report templates
BZ 1835189 - host_redhat_subscriptions macro is the same as above
BZ 1835690 - is the general request of the new report

This BZ is about existing, specific report that uses methods from subscription management which seems to behave differently than expected. People with subscription background will be better able to debug and potentially fix it.

Comment 5 Brad Buckingham 2021-07-22 14:23:47 UTC
Is the customer using Simple Content Access?

Comment 6 Anthony Hogbin 2021-07-22 16:23:15 UTC
In reply to Brad - no - they are not using SCA at this time.

Comment 10 Ian Ballou 2022-03-14 15:51:56 UTC
Created redmine issue https://projects.theforeman.org/issues/34609 from this bug

Comment 11 Bryan Kearney 2022-03-15 00:04:21 UTC
Upstream bug assigned to iballou

Comment 12 Bryan Kearney 2022-03-15 00:04:24 UTC
Upstream bug assigned to iballou

Comment 13 Bryan Kearney 2022-03-18 00:04:24 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34609 has been resolved.

Comment 20 errata-xmlrpc 2022-11-16 13:32:43 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 (Important: Satellite 6.12 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:8506


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