Bug #34610
closed"Subscription - Entitlement Report" does not show correct number of subscriptions attached/consumed
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1981444
Description of problem:
"Subscription - Entitlement Report" in Katello uses the pool count incorrectly and double counts for hosts that share subscriptions.
Version-Release number of selected component (if applicable):
Katello 3.18 specifically, but really all versions of Katello.
How reproducible:
Always
Steps to Reproduce:
1. Attach the same subscriptions to multiple hosts
2. Generate a report from Monitor -> Report Templats -> "Subscription - Entitlement Report" -> Generate
3. Compare the value in the column "Subscriptions Consumed" with actual number of subscriptions attached to the host
Actual results:
Numbers don't match
Expected results:
Numbers match
Additional info:
This bug is in both the foreman and katello projects since changes need to be made to both repositories.