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 795525 - 'katello org subscriptions' incorrectly labels output column as "ProductName"
Summary: 'katello org subscriptions' incorrectly labels output column as "ProductName"
Keywords:
Status: CLOSED DUPLICATE of bug 824069
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-20 19:12 UTC by James Laska
Modified: 2014-01-27 13:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-27 15:53:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
0001-795525-Change-productName-column-header-to-Subscript.patch (1.02 KB, patch)
2012-02-20 19:13 UTC, James Laska
no flags Details | Diff

Description James Laska 2012-02-20 19:12:24 UTC
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

Comment 1 James Laska 2012-02-20 19:13:34 UTC
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'

Comment 4 Lukas Zapletal 2012-05-24 08:30:39 UTC
According to the Bug 815223 I will apply James' patch. Also note Bug 824069 - we are no longer listing all products, marketing are hidden by default.

Comment 5 Lukas Zapletal 2012-08-27 15:53:08 UTC
Bug 824069 fixed. Errata is out.

*** This bug has been marked as a duplicate of bug 824069 ***


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