Description of problem: Included in the output from rct cat-manifest is a field called "Subscription Id:". This should be changed to "Order Number:" to match the output terminology from rct cat-cert CERTIFICATE. 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 How reproducible: Steps to Reproduce: Given any manifest.zip file... [root@jsefler-7 test-manifests]# rct cat-manifest manifest_RH1569626.zip | grep "Subscription:" -A14 Subscription: Name: RHN Monitoring (Up to 1 guest) Quantity: 1 Created: 2013-02-21T15:31:13.000+0000 Start Date: 2012-12-31T05:00:00.000+0000 End Date: 2013-12-31T04:59:59.000+0000 Suport Level: Layered Suport Type: L1-L3 Architectures: Product Id: RH1569626 Contract: Subscription Id: 2677371 <======================== Expected ==== Order Number: 2677371 Entitlement File: export/entitlements/8a99f9833cf86efc013cfd613be066cb.json Certificate File: export/entitlement_certificates/2414805806930829936.pem Certificate Version: 1.0 [root@jsefler-7 test-manifests]# The value from this field comes from the entitlemnt cert as follows... [root@jsefler-7 test-manifests]# rct dump-manifest manifest_RH1569626.zip The manifest has been dumped to the current directory [root@jsefler-7 test-manifests]# rct cat-cert export/entitlement_certificates/2414805806930829936.pem +-------------------------------------------+ Entitlement Certificate +-------------------------------------------+ Certificate: Path: export/entitlement_certificates/2414805806930829936.pem Version: 1.0 Serial: 2414805806930829936 Start Date: 2012-12-31 05:00:00+00:00 End Date: 2013-12-31 04:59:59+00:00 Subject: CN: 8a99f9833cf86efc013cfd613be066cb Order: Name: RHN Monitoring (Up to 1 guest) Number: 2677371 <============ There's the corresponding Order Number (not Subscription Id)! SKU: RH1569626 Contract: 10014710 Account: 5206743 Service Level: Layered Service Type: L1-L3 Quantity: 100 Quantity Used: 1 Socket Limit: RAM Limit: Virt Limit: Virt Only: False Subscription: Stacking ID: Warning Period: 0 Provides Management: 0 Additional info:
commit b309a7c85b260de76a46e8fd613f01da192c2aea Author: Bryan Kearney <bkearney> Date: Fri Feb 22 13:14:08 2013 -0500 913720: Use the term order number instead of subscription id
# 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 Contract: 2635099 Order Number: 2272977 <========= Verified Entitlement File: export/entitlements/8a99f98133b862df0133c3264ba03dac.json Certificate File: export/entitlement_certificates/7197125163176484527.pem Certificate Version: 1.0 Verified
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.
Flipping this back to NEW status. was switched from "Order Number" to "Order" in subscription-manager commit 75e43921983f615121166dea25940eed610b6b72
Works for me. I like rct cat-manifest outputting Order (sans Number, matches our subscription-manager outputs), and rct cat-cert outputting Order Number as Number, since it sits in the Order section, and Order appears two lines above it.
resolved as per Matt's comment
Version: # rpm -qa | egrep "subscription-manager|python-rhsm" subscription-manager-migration-data-1.11.3.1-1.git.1.78afd75.el5 subscription-manager-migration-1.8.10-1.git.1.b44c4b1.el5 python-rhsm-1.8.12-1.git.0.d747a65.el5 subscription-manager-firstboot-1.8.10-1.git.1.b44c4b1.el5 subscription-manager-1.8.10-1.git.1.b44c4b1.el5 subscription-manager-gui-1.8.10-1.git.1.b44c4b1.el5 # rct cat-manifest manifest_RH1569626.zip | grep "Subscription:" -A14 Subscription: Name: RHN Monitoring (Up to 1 guest) Quantity: 1 Created: 2013-02-21T15:31:13.000+0000 Start Date: 2012-12-31T05:00:00.000+0000 End Date: 2013-12-31T04:59:59.000+0000 Service Level: Layered Service Type: L1-L3 Architectures: SKU: RH1569626 Contract: Order: <<<<<<<< VERIFIED Account: 5206743 Entitlement File: export/entitlements/8a99f9833cf86efc013cfd613be066cb.json Certificate File: export/entitlement_certificates/2414805806930829936.pem VERIFIED Aditional Information # rct cat-cert /etc/pki/entitlement/572987628391620534.pem | grep order -A10 >> Number: order-8675309 SKU: awesomeos-all-just-86_64-cont Contract: 103 Account: 12331131231 Service Level: Service Type: Quantity: 10 Quantity Used: 2 Socket Limit: 1 RAM Limit: Core Limit:
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