Bug 697965

Summary: Cannot see installed subscription
Product: Red Hat Enterprise Linux 5 Reporter: Adrian Likins <alikins>
Component: subscription-managerAssignee: John Sefler <jsefler>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: high Docs Contact:
Priority: high    
Version: 5.7CC: alikins, cduryee, jsefler, ktakemur, mdoyle, ndai, spandey
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 696020 Environment:
Last Closed: 2011-07-21 08:47:27 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: 696020, 701315    
Bug Blocks: 675214    
Attachments:
Description Flags
Problem still exists on i686
none
The subscription is now fully rendered in "My Subscriptions" tab none

Comment 1 Adrian Likins 2011-04-19 19:18:07 UTC
commit b226c3f4cef41968d48b5a202d7cbbe5e5830ac0
Author: Adrian Likins <alikins>
Date:   Tue Apr 19 15:16:14 2011 -0400

    697965: 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 2 John Sefler 2011-05-14 05:04:29 UTC
Created attachment 498903 [details]
Problem still exists on i686

Version on i686...
[root@dell-pe2550-01 ~]# rpm -qa | grep subscription-manager
subscription-manager-0.95.5.15-1.el5
subscription-manager-gnome-0.95.5.15-1.el5
subscription-manager-firstboot-0.95.5.15-1.el5
[root@dell-pe2550-01 ~]# rpm -q m2crypto
m2crypto-0.16-8.el5


[root@dell-pe2550-01 ~]# subscription-manager facts --list | grep uname
uname.machine: i686
uname.nodename: dell-pe2550-01.rhts.eng.bos.redhat.com
uname.release: 2.6.18-259.el5
uname.sysname: Linux
uname.version: #1 SMP Fri Apr 29 01:10:46 EDT 2011


When attempting to subscribe, I still get this traceback and the subscription column on the "My Subscriptions" tab is empty.

Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/gui/mysubstab.py", line 70, in on_cert_change
    self.update_subscriptions()
  File "/usr/share/rhsm/subscription_manager/gui/mysubstab.py", line 115, in update_subscriptions
    self.store.add_map(entry)
  File "/usr/share/rhsm/subscription_manager/gui/storage.py", line 58, in add_map
    self.append(entry)
TypeError: value is of wrong type for this column
Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/gui/widgets.py", line 133, in _selection_callback
    self.on_selection(selection)
  File "/usr/share/rhsm/subscription_manager/gui/mysubstab.py", line 142, in on_selection
    order = cert.getOrder()
AttributeError: 'NoneType' object has no attribute 'getOrder'


moving back to NEW status

Comment 3 Chris Duryee 2011-05-16 19:46:24 UTC
fixed in 3e35179d984a637ecd4fb0f599895f4483f2f5d0

Comment 4 John Sefler 2011-05-20 16:04:13 UTC
Created attachment 500084 [details]
The subscription is now fully rendered in "My Subscriptions" tab

Verifying Version...

[root@dell-pesc1425-01 ~]# rpm -qa | grep subscription-manager
subscription-manager-0.95.5.18-1.el5
subscription-manager-gnome-0.95.5.18-1.el5
[root@dell-pesc1425-01 ~]# rpm -q m2crypto
m2crypto-0.16-8.el5

[root@dell-pesc1425-01 ~]# subscription-manager facts --list | grep uname
uname.machine: i686
uname.nodename: dell-pesc1425-01.rhts.eng.bos.redhat.com
uname.release: 2.6.18-262.el5
uname.sysname: Linux
uname.version: #1 SMP Mon May 16 17:46:41 EDT 2011

Comment 5 errata-xmlrpc 2011-07-21 08:47:27 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-1078.html

Comment 6 errata-xmlrpc 2011-07-21 12:30:15 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-1078.html