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 1157387 - "Status: No installed products detected." is displayed while a product cert is subscribed.
Summary: "Status: No installed products detected." is displayed while a product cert i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Devan Goodwin
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel71
TreeView+ depends on / blocked
 
Reported: 2014-10-27 07:19 UTC by qianzhan
Modified: 2015-03-05 13:15 UTC (History)
6 users (show)

Fixed In Version: subscription-manager-1.13.9-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 13:15:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
wrong status info on My Installed Products tab.png (212.23 KB, image/png)
2014-10-27 07:19 UTC, qianzhan
no flags Details
Status info on My installed products tab (107.94 KB, image/png)
2014-11-24 08:12 UTC, Shwetha Kallesh
no flags Details
Normal status of subscribe product in My Installed Product tab.png (1.63 MB, image/png)
2014-11-28 06:45 UTC, qianzhan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0502 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-03-05 16:20:39 UTC

Description qianzhan 2014-10-27 07:19:27 UTC
Description of problem:
"Status: No installed products detected." is displayed while a product cert is subscribed.

Version-Release number of selected component (if applicable):
candlepin-0.9.6.5-1.el6sam.noarch
candlepin-scl-1-5.el6_4.noarch
candlepin-scl-quartz-2.1.5-5.el6_4.noarch
candlepin-scl-rhino-1.7R3-1.el6_4.noarch
candlepin-scl-runtime-1-5.el6_4.noarch
candlepin-selinux-0.9.6.5-1.el6sam.noarch
candlepin-tomcat6-0.9.6.5-1.el6sam.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch
katello-cli-1.4.3.1-1.el6sam.noarch
katello-cli-common-1.4.3.1-1.el6sam.noarch
katello-common-1.4.3.28-1.el6sam_splice.noarch
katello-configure-1.4.5.1-3.el6sam.noarch
katello-glue-candlepin-1.4.3.28-1.el6sam_splice.noarch
katello-glue-elasticsearch-1.4.3.28-1.el6sam_splice.noarch
katello-headpin-1.4.3.28-1.el6sam_splice.noarch
katello-headpin-all-1.4.3.28-1.el6sam_splice.noarch
katello-selinux-1.4.4-2.el6sat.noarch
ruby193-rubygem-katello-redhat-access-engine-0.0.1-1.el6sam.noarch
thumbslug-0.0.40-1.el6sam.noarch
thumbslug-selinux-0.0.40-1.el6sam.noarch

subscription-manager: 1.13.5-1.el7
python-rhsm: 1.13.5-1.el7

How reproducible:
100%

Steps to Reproduce:
1. Open subscription-manager-gui, and register without auto-attach. 

2. Check the status of "My Installed Products" tab. The status is "Status: 1 installed product does not have a valid subscription"

3. Click auto-attach on this tab.

4. Check the status of "My Installed Products" tab. The status is "Status: No installed products detected."

5. Check the product cert in CLI.
[root@dhcp-128-22 ~]# ls /etc/pki/product
69.pem


Actual results:
As step 4. Please see attachment 'wrong status info on My Installed Products tab.png'

Expected results:
The status in step 4 should be "Status: 1 installed products is detected with a valid subscription."

Additional info:

Comment 1 qianzhan 2014-10-27 07:19:52 UTC
Created attachment 950897 [details]
wrong status info on My Installed Products tab.png

Comment 3 Devan Goodwin 2014-11-04 13:19:53 UTC
Looks like a combination of two problems, firstly if this is done against a SAM 1.4 server it's quite easy to reproduce, as SAM is returning a compliant until date of "null". This doesn't happen against current candlepin and I suspect has been dealt with by a separate bug.

Meanwhile the client is making the assumption that if your state is "valid", and you have no compliant until date, you must have no installed product certs. 

Will modify client to handle this more gracefully in the event it doesn't receive a complaint until date.

Comment 4 Devan Goodwin 2014-11-13 16:15:37 UTC
Fixed in subscription-manager.git fa2775296e170c8dbed74965d8f08e0df7b41279.

Will appear in subscription-manager-1.13.9-1

Comment 6 qianzhan 2014-11-24 02:41:18 UTC
The latest RHEL7.1 build now is RHEL7.1-20141113.0 with subscription-manager-1.13.8-1.el7, so I must wait a new build with subscription-manager-1.13.9-1 to verify this bug.

Comment 7 Shwetha Kallesh 2014-11-24 08:12:56 UTC
Created attachment 960598 [details]
Status info on My installed products tab

Marking verified as status message is fine now.

PS the attachment

[root@dhcp35-236 product]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.26.4-1
subscription management rules: 5.11
subscription-manager: 1.13.9-1.el7
python-rhsm: 1.13.8-1.el7

Comment 8 qianzhan 2014-11-24 08:23:11 UTC
If a new build comes out tomorrow, I will verify it and change the bug's status form ON_QA to VERIFIED.

Comment 9 qianzhan 2014-11-28 06:44:03 UTC
Verified!

See attachment "Normal status of subscribe product in My Installed Product tab.png" please.

[root@dhcp-128-41 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 1.4.3.28-1.el6sam_splice-Headpin
subscription management rules: Unknown
subscription-manager: 1.13.9-1.el7
python-rhsm: 1.13.8-1.el7

Move this bug to VERIFIED.

Comment 10 qianzhan 2014-11-28 06:45:05 UTC
Created attachment 962361 [details]
Normal status of subscribe product in My Installed Product tab.png

Comment 12 errata-xmlrpc 2015-03-05 13:15:53 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.

https://rhn.redhat.com/errata/RHBA-2015-0502.html


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