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 2056177 - [Bug] Custom subscriptions consumed and available quantity not correct in the CSV file
Summary: [Bug] Custom subscriptions consumed and available quantity not correct in the...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: Lucy Fu
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-19 13:31 UTC by Dhaval Joshi
Modified: 2022-07-05 14:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:33:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
CSV file download from Satellite WebUI (799 bytes, text/plain)
2022-02-19 13:31 UTC, Dhaval Joshi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34578 0 Normal New [Bug] Custom subscriptions consumed and available quantity not correct in the CSV file 2022-03-08 22:10:10 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:33:48 UTC

Description Dhaval Joshi 2022-02-19 13:31:37 UTC
Created attachment 1862073 [details]
CSV file download from Satellite WebUI

Description of problem:
Custom subscriptions consumed and available quantity are not correct in the exported CSV file.

Satellite WebUI >> Content >> Subscriptions >> Export CSV

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

How reproducible:
100%

Steps to Reproduce:
1. Create a custom product on the satellite server.
2. Satellite WebUI >> Content >> Subscriptions >> Export CSV
3. Check the Available and Quantity columns in CSV file. It shows -1.

Actual results:
 - Available and Quantity columns show '-1' count.

Expected results:
 - Should show correct subscription consumption

Additional info:

Comment 1 Brad Buckingham 2022-02-21 14:14:56 UTC
Is this a regression from Satellite 6.10?

Comment 3 Lucy Fu 2022-03-08 22:10:10 UTC
Created redmine issue https://projects.theforeman.org/issues/34578 from this bug

Comment 4 Bryan Kearney 2022-03-09 00:05:38 UTC
Upstream bug assigned to lufu

Comment 5 Bryan Kearney 2022-03-09 00:05:40 UTC
Upstream bug assigned to lufu

Comment 6 Lucy Fu 2022-03-09 16:51:46 UTC
The Available column should be called Consumed as displayed on Content - Subscriptions UI page.
https://github.com/Katello/katello/pull/10004 addresses the above issue.

An unlimited Entitlements on Subscriptions UI page is displayed as Quantity -1 in the exported CSV as designed.

Comment 7 Bryan Kearney 2022-03-15 16:05:42 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34578 has been resolved.

Comment 13 errata-xmlrpc 2022-07-05 14:33:38 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


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