Bug 811337

Summary: Firstboot: Already registered screen is presented after registering and clicking back
Product: Red Hat Enterprise Linux 6 Reporter: Michael Stead <mstead>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3CC: bkearney, jmolet
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: 2012-06-20 13:09:08 UTC Type: Bug
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: 738066    

Description Michael Stead 2012-04-10 18:14:06 UTC
Description of problem:
During firstboot, if the user registers the system and continues to click the back button, eventually the "Your system was registered for updates during installation" screen will be presented. When next is clicked, the user skips the subscription-manager screens and is taken to the "Create User" screens.

The user can not re-register the system.


Version-Release number of selected component (if applicable):


How reproducible:
Always.

Steps to Reproduce:
1. launch firstboot.
2. On Set up software Updates, click YES, then Forward
3. Select "I'd like to receive updates from RHN..." - then forward.
4. Progress through the registration screens until the system is successfully registered, and you are at the "Create User" screen.
5. Click the back button a few times and you will be shown the "Your system was registered for updates during installation".
  
Actual results:
You are shown the Set Up Software Updates screen with a message of "Your system was registered for updates during installation".

Expected results:
You are shown the set Up Software Updates screen allowing you to choose a server.

Comment 2 James Bowes 2012-04-10 18:55:18 UTC
This is caused by the rhsm_login screen lazily unregistering you when you try to register again. I've fixed this by simply unregistering any time you return to this screen (after first using it to register).

Comment 3 James Bowes 2012-04-10 20:00:40 UTC
Fixed in master 4c5cc0858e
and RHEL6.3 b82599710610b9

should be in subscription-manager-0.99.13-1

Comment 6 J.C. Molet 2012-04-12 18:31:10 UTC
subscription-manager-firstboot-1.0.0-1.git.11.f42a186.el6.x86_64

This seems to work now in the above version ^^

I've tested this by going through firstboot all the way to the last module/screen and then clicking back to the welcome screen and then going back through again.  It did not say I was already registered at any point.

VERIFIED.

Comment 8 errata-xmlrpc 2012-06-20 13:09:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0804.html