Bug 696020

Summary: Cannot see installed subscription
Product: Red Hat Enterprise Linux 6 Reporter: Kenichi Takemura <ktakemur>
Component: subscription-managerAssignee: Adrian Likins <alikins>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: alikins, bkearney, ebaak, mdoyle, mganisin, mkhusid, ndai
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: subscription-manager-0.95.11-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 697965 701315 (view as bug list) Environment:
Last Closed: 2011-05-19 13:40:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 568421, 697965, 701315, 702031    
Attachments:
Description Flags
The subscription is now fully rendered in "My Subscriptions" tab none

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