Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1117292

Summary: list --installed on cli lists only one product whereas GUI displays all the installed products
Product: Red Hat Enterprise Linux 6 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED NOTABUG QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: ckozak
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-14 14:36:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Installed list tab on GUI none

Description Shwetha Kallesh 2014-07-08 12:56:03 UTC
Description of problem:
list --installed against stage on cli lists only one product whereas GUI displays all the installed products

Version-Release number of selected component (if applicable):
[root@dhcp-0-177 ~]# subscription-manager version
\server type: RHN Classic and Red Hat Subscription Management
subscription management server: 0.9.20.1-1
subscription management rules: 5.9
subscription-manager: 1.12.7-1.el6
python-rhsm: 1.12.4-1.el6


How reproducible:


Steps to Reproduce:
[root@dhcp-0-177 ~]# ls /etc/pki/product/
AS-AS-i386-359d4f7f773d-69.pem    ES-ES-x86_64-6eb43b223609-69.pem        Server-Server-ia64-0fd5ce93c6c7-69.pem    Server-Server-x86_64-e774841f1bf0-69.pem
AS-AS-ia64-dc594ab754a9-69.pem    Server-Server-i386-53c4dfc0c03b-69.pem  Server-Server-ia64-3ccf92a8b693-69.pem    Server-x86_64-f2915f6444f4-69.pem
AS-AS-x86_64-941d613112f3-69.pem  Server-Server-i386-684c58caa67e-69.pem  Server-Server-x86_64-06e8bd9df3f0-69.pem
ES-ES-i386-30a823a9af83-69.pem    Server-Server-i386-7b9ecf5e159e-69.pem  Server-Server-x86_64-10746ef5fdef-69.pem
ES-ES-ia64-b29871c9c70d-69.pem    Server-Server-i386-cb7d6c6883e4-69.pem  Server-Server-x86_64-cf866062e953-69.pem

[root@dhcp-0-177 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux Server
Product ID:     69
Version:        6.5
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         09/03/2013
Ends:           09/03/2014


Actual results:


Expected results:


Additional info:

Comment 2 Shwetha Kallesh 2014-07-09 09:41:23 UTC
Created attachment 916686 [details]
Installed list tab on GUI

Comment 3 John Sefler 2014-07-09 12:21:23 UTC
You have multiple product certs installed in your /etc/pki/product certs directory.  They all share product id 69 (albeit different versions).  Normal operation is that you only have one 69.pem product cert installed.

How did you get all of those <variant>-<arch>-<hash>-69.pem files installed?
I doubt it was a supported procedure.  My guess is that you inadvertently copied them from the subscription-manager-migration-data certs.

Comment 4 Shwetha Kallesh 2014-07-11 04:15:21 UTC
I copied the certs from subscription-manager-migration-data certs

Comment 5 Carter Kozak 2014-07-14 14:36:37 UTC
This is an unsupported state, we shouldn't ever have multiple product certs with the same ID on a single system.