| Summary: | Cannot see installed subscription | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Adrian Likins <alikins> | ||||||
| Component: | subscription-manager | Assignee: | John Sefler <jsefler> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.7 | CC: | 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: |
|
||||||||
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
fixed in 3e35179d984a637ecd4fb0f599895f4483f2f5d0 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
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 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 |
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.