Bug 696020 - Cannot see installed subscription
Summary: Cannot see installed subscription
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.1
Hardware: i386
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Adrian Likins
QA Contact: John Sefler
URL:
Whiteboard:
: 700303 (view as bug list)
Depends On:
Blocks: 568421 697965 701315 702031
TreeView+ depends on / blocked
 
Reported: 2011-04-13 05:21 UTC by Kenichi Takemura
Modified: 2014-08-04 22:03 UTC (History)
7 users (show)

Fixed In Version: subscription-manager-0.95.11-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 697965 701315 (view as bug list)
Environment:
Last Closed: 2011-05-19 13:40:47 UTC
Target Upstream Version:


Attachments (Terms of Use)
The subscription is now fully rendered in "My Subscriptions" tab (43.76 KB, image/png)
2011-05-04 20:34 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0611 0 normal SHIPPED_LIVE new package: subscription-manager 2011-05-18 17:56:21 UTC

Description Kenichi Takemura 2011-04-13 05:21:39 UTC
Description of problem:

After registering the system and subscribing to a subscription, installed subscription is not listed in 'My Subscriptions' tab.

Version-Release number of selected component (if applicable):
subscription-manager-debuginfo-0.95.7-1.el6.i686
subscription-manager-gnome-0.95.7-1.el6.i686
subscription-manager-firstboot-0.95.7-1.el6.i686
subscription-manager-0.95.7-1.el6.i686


How reproducible:
100%

Steps to Reproduce:
1. Start RHSM GUI
2. Register the system enabling auto-subscribe to proper subscription
3. Click 'My Subscriptions'
  
Actual results:
There is no subscription

Expected results:
Installed subscription must be listed.

Additional info:
This works with subscription-manager-0.95.6-1.

Comment 7 Kenichi Takemura 2011-04-14 06:16:45 UTC
I tested on x86_64 and cannot produce this bug.
I can produce this bug only i686.

Comment 10 Adrian Likins 2011-04-18 14:53:03 UTC
There is a patch out for review to fix this.

Comment 11 Adrian Likins 2011-04-18 20:04:56 UTC
commit dbc4cc51a1747939391b237d05e15b0715bfc53c
Author: Adrian Likins <alikins>
Date:   Fri Apr 15 13:51:47 2011 -0400

    696020: on x86, serial numbers do not like to be long's
    
    Trying to pass a way longer than 4byte 'long' into gtk tree view label
    was throwing errors, so just use it as a string and cast.
    
    Also, the method we were using to detect if we were registered
    wasn't working if no admin api calls were made, so just check
    for existence of consumer id.

Comment 16 Adrian Likins 2011-05-04 18:52:06 UTC
*** Bug 700303 has been marked as a duplicate of this bug. ***

Comment 18 John Sefler 2011-05-04 20:34:47 UTC
Created attachment 496913 [details]
The subscription is now fully rendered in "My Subscriptions" tab

Verifying Version:
[root@nec-em26 tmp]# rpm -qa | grep subscription-manager
subscription-manager-0.95.11-1.el6.i686
subscription-manager-gnome-0.95.11-1.el6.i686
subscription-manager-firstboot-0.95.11-1.el6.i686

No more traceback in the log after running the scenario in comment #0 on a i686 arch....
[root@nec-em26 ~]# grep -i Traceback /var/log/rhsm/rhsm.log 
[root@nec-em26 ~]#

Comment 19 John Sefler 2011-05-04 20:35:47 UTC
moving to VERIFIED

Comment 20 Marian Ganisin 2011-05-05 12:59:15 UTC
Just FYI: Issue recently described in Bug 700303 (traceback in difrstboot on i686) doesn't seem to occur in current RC. Traceback doesn't raise, subscriptions are correctly displayed. Tested on Workstation variant.

Comment 21 errata-xmlrpc 2011-05-19 13:40:47 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0611.html


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