Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionJulio Entrena Perez
2020-05-14 10:26:48 UTC
Description of problem:
The "Entitlements" report has a column named "Subscription Quantity" which currently displays how many subscriptions exist in the pool (pool.quantity).
Customer would like the report to display the number of subscriptions that the host is consuming. For 2 socket servers that may by 1 sub, for 4 socket servers that may be 2 subs, etc...
Version-Release number of selected component (if applicable):
foreman-1.24.1.21-1.el7sat
tfm-rubygem-katello-3.14.0.20-1.el7sat
How reproducible:
Always
Steps to Reproduce:
1. Run the Entitlements report in Satellite 6.7
2. Observe column "Subscription Quantity"
3.
Actual results:
Column "Subscription Quantity" displays the number of subscriptions available in the pool.
Expected results:
Column "Subscription Quantity" or some other column displays the number of subscriptions attached to the host.
Alternatively a macro providing the number of subscriptions attached to the host is made available for customer to use it in a custom clone of the Entitlements report.
Additional info:
*** Satellite 6.8.6 Hotfix Available ***
1) Download tfm-rubygem-katello-3.16.0.26-2.HFRHBZ1835690.el7sat.noarch.rpm from this bugzilla to your Satellite
2) stop services:
satellite-maintain service stop
3) Install:
rpm -Uvh tfm-rubygem-katello-3.16.0.26-2.HFRHBZ1835690.el7sat.noarch.rpm
4) restart:
satellite-maintain service start
5) resume operations
Comment 18Lukáš Hellebrandt
2021-06-14 10:32:32 UTC
Verified with Sat 6.9.3 snap 2.0.
Imported a manifest, created a custom product, added all of those to the activation key, registered a host using that activation key. Then WebUI -> Report Templates -> "Subscription - Entitlement report" -> Generate -> Submit.
The resulting file contains column "Subscriptions Consumed" (next to "Subscription Quantity") which contains a number of those subscriptions consumed by all hosts together. The report takes into account all the subscriptions, including custom ones, which can be told apart by having Contract column empty.
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 (Satellite 6.9.3 Async Bug Fix Update), 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-2021:2636