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.
Description of problem:
The command 'katello org subscriptions' output header shows 'ProductName'. However, there are no matching products by the name used (in the case of RHEL). I believe the column is incorrectly named. Perhaps it should simple state "Name" or "Subscription"?
Version-Release number of selected component (if applicable):
* katello-0.1.238-4.el6.noarch
* katello-cli-0.1.54-2.el6.noarch
Steps to Reproduce:
1. katello -u admin -p admin product list --org=ACME_Corporation -g
2. katello -u admin -p admin org subscriptions --org=ACME_Corporation -g
Actual results:
> katello> product list --org=ACME_Corporation -g
> -----------------------------------------------------------------------------------------------------------------------------------------
> Product List For Organization ACME_Corporation, Environment 'Library'
>
> Id Name Provider Id Provider Name Sync Plan Name GPG key
> -----------------------------------------------------------------------------------------------------------------------------------------
> 69 Red Hat Enterprise Linux Server 1 Red Hat None
> MCT0917F3 Red Hat Enterprise Linux Standard L3 for up to 2 sockets 3 year 1 Red Hat None > katello> org subscriptions --name=ACME_Corporation -g
> -----------------------------------------------------------------------------------------------------------------------------------------
> Organization's Subscriptions
>
> ProductName Consumed Id
> -----------------------------------------------------------------------------------------------------------------------------------------
> Red Hat Enterprise Linux, Standard L3 (for up to 2 sockets) 3 year 0 8a90ccd5359eb30501359ebccc40002a
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Does not match the name of any of the products listed earlier
Expected results:
> katello> org subscriptions --name=ACME_Corporation -g
> -----------------------------------------------------------------------------------------------------------------------------------------
> Organization's Subscriptions
>
> Subscription Name Consumed Id
> -----------------------------------------------------------------------------------------------------------------------------------------
> Red Hat Enterprise Linux, Standard L3 (for up to 2 sockets) 3 year 0 8a90ccd5359eb30501359ebccc40002a
Created attachment 564508[details]
0001-795525-Change-productName-column-header-to-Subscript.patch
Proposed tested patch that changes the column header name from 'ProductName', to 'Subscription'