Bug 670597

Summary: firstboot subscription search bug
Product: Red Hat Enterprise Linux 6 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED ERRATA QA Contact: J.C. Molet <jmolet>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: jesusr, spandey
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:38:56 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: 639436    
Attachments:
Description Flags
firstboot crash report none

Description J.C. Molet 2011-01-18 18:41:09 UTC
Created attachment 474125 [details]
firstboot crash report

Description of problem:
Firstboot crashes when searching for a subscription.

Version-Release number of selected component (if applicable):
subscription-manager-gnome-0.93.13-1.el6.x86_64
python-rhsm-0.94.15-1.el6.noarch
subscription-manager-0.93.13-1.el6.x86_64
subscription-manager-firstboot-0.93.13-1.el6.x86_64
firstboot-1.110.8-1.el6.x86_64

rhel entitlement beta: http://download.lab.bos.redhat.com/devel/candidates/RHEL6.1-20110118.0/6/Server/x86_64/os/

How reproducible:
always

Steps to Reproduce:
1. Install latest rhel entitlement beta compose
2. Proceed through firstboot, registering with rhsm
3. After registered, go to the "available subscriptions" tab
4. Update the search
  
Actual results:
Clicking update spawns the progress bar and then crashes.

Expected results:
Clicking update displays search results.

Additional info:
see attached crash report.

Comment 1 Jesus M. Rodriguez 2011-01-20 20:13:16 UTC
In firstboot, the registration and mainwindow screens are created
simultaneously at startup. Both contain a Consumer object. The
registration screen will reload it with the identity certificate
after registration, but the mainwindow instance is not updated.
Firstboot will call initializeUI method on the screen transition
which in turn calls the refresh() method on MainWindow which is
a good location for reloading its instance of Consumer.

Comment 2 Jesus M. Rodriguez 2011-01-20 20:42:59 UTC
*** Bug 670794 has been marked as a duplicate of this bug. ***

Comment 4 J.C. Molet 2011-01-21 21:04:09 UTC
This is now working as of the latest compose: RHEL6.1-20110121.0

The steps in the description were run, a search list was brought down and subscribed to successfully.

Comment 5 errata-xmlrpc 2011-05-19 13:38:56 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