Bug 913703 - rct cat-manifest > Subscription:> "Product Id:" should be labeled as "SKU:"
Summary: rct cat-manifest > Subscription:> "Product Id:" should be labeled as "SKU:"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 5.10
Assignee: candlepin-bugs
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510 rhsm-2013
TreeView+ depends on / blocked
 
Reported: 2013-02-21 20:37 UTC by John Sefler
Modified: 2013-09-30 22:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2013-09-30 22:57:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 22:49:24 UTC

Description John Sefler 2013-02-21 20:37:57 UTC
Description of problem:
Included in the output from rct cat-manifest is a field called "Product Id:".  This should be changed to "SKU:" to match the output terminology from subscription-manager list --available.

Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -q subscription-manager
subscription-manager-1.8.3-1.git.0.50cbc39.el7.x86_64


Steps to Reproduce:
Given any manifest.zip file...
[root@jsefler-7 test-manifests]# rct cat-manifest manifest.zip | grep "Subscription:" -A14
Subscription:
	Name: Red Hat Enterprise Linux Server, Self-support (1-2 sockets) (Up to 1 guest)
	Quantity: 2
	Created: 2013-01-21T21:22:57.000+0000
	Start Date: 2012-12-31T05:00:00.000+0000
	End Date: 2013-12-31T04:59:59.000+0000
	Suport Level: Self-support      <=========================== see bug 913302
	Suport Type: L1-L3              <=========================== see bug 913302
	Architectures: x86,x86_64,ia64,s390x,ppc,s390,ppc64
	Product Id: RH0197181           <=========================== Expected ==== SKU: RH0197181
	Contract: 
	Subscription Id: 2677511        <=========================== see bug 878634
	Entitlement File: export/entitlements/8a99f9843c401207013c5efe1e1931ce.json
	Certificate File: export/entitlement_certificates/4134818306731067736.pem
	Certificate Version: 1.0

Comment 1 John Sefler 2013-02-21 21:38:10 UTC
Also note that the terminology for "SKU" appears in the output from rct cat-cert ENTITLEMENT_FILE

[root@jsefler-7 manifest_RH1569626]# rct cat-cert export/entitlement_certificates/2414805806930829936.pem | grep "Order:" -A4
Order:
	Name: RHN Monitoring (Up to 1 guest)
	Number: 2677371
	SKU: RH1569626               <==============================
	Contract: 10014710

Comment 2 Bryan Kearney 2013-02-22 18:20:04 UTC
commit f733af59ceb8df739a47415f38532132369f5361
Author: Bryan Kearney <bkearney>
Date:   Fri Feb 22 13:18:32 2013 -0500

    913703: Prefer the use of SKU over Product ID

Comment 3 Sharath Dwaral 2013-03-12 13:44:46 UTC
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-firstboot-1.8.4-1.el7.x86_64
python-rhsm-1.8.7-1.el7.x86_64
subscription-manager-gui-1.8.4-1.el7.x86_64
subscription-manager-migration-1.8.4-1.el7.x86_64
subscription-manager-1.8.4-1.el7.x86_64
subscription-manager-debuginfo-1.8.4-1.el7.x86_64

# rct cat-manifest stageSamTest20Nov2011.zip | grep "Subscription:" -A14
Subscription:
	Name: Red Hat Enterprise Linux Workstation, Standard
	Quantity: 10
	Created: 2011-11-20T22:43:46.000+0000
	Start Date: 2011-11-16T05:00:00.000+0000
	End Date: 2012-11-16T04:59:59.000+0000
	Service Level: STANDARD
	Service Type: L1-L3
	Architectures: 
	SKU: RH0958488         <=============  Verified
	Contract: 2635099
	Order Number: 2272977
	Entitlement File: export/entitlements/8a99f98133b862df0133c3264ba03dac.json
	Certificate File: export/entitlement_certificates/7197125163176484527.pem
	Certificate Version: 1.0

Verified

Comment 4 RHEL Program Management 2013-04-09 20:50:55 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 6 errata-xmlrpc 2013-09-30 22:57:40 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1332.html


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