Bug 1311935

Summary: Unhandled exception on firstboot registration screen when tried to "Forward" with out giving the account details
Product: Red Hat Enterprise Linux 6 Reporter: Rehana <redakkan>
Component: subscription-managerAssignee: Chris Snyder <csnyder>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: bkearney, crog, csnyder, skallesh
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 20:40:45 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:
Embargoed:
Attachments:
Description Flags
FirstbootException
none
NO unhandled Exception when you click on forward without entering credentials
none
No Exception when you click on forward without entering activation key details none

Description Rehana 2016-02-25 11:15:34 UTC
Description of problem:
Observed an unhandled exception when try to proceed the subscription-manager registration screen without entering the details. This issue appears to be a regression, on earlier build (subscription-manager-firstboot-1.16.8-2.el6.x86_64) it worked and displayed error message "you must enter a login" when tried the same scenario 

Version-Release number of selected component (if applicable):
subscription-manager-1.16.8-3.el6.x86_64
subscription-manager-migration-1.16.8-3.el6.x86_64
subscription-manager-firstboot-1.16.8-3.el6.x86_64
subscription-manager-gui-1.16.8-3.el6.x86_64
subscription-manager-migration-data-2.0.26-1.el6.noarch
python-rhsm-1.16.6-1.el6.x86_64

How reproducible:
3/3

Steps to Reproduce:
1.Installed latest subscription-manager packages
2.launch firstboot
3.Click Next, and choose "Yes, i would like to REgister " and continue server details page
4.Click "Next" on the Registration window with out providing the login details

Actual results:
Got a unhandled exception pop up (PFA) 

Expected results:
No exception, message "you must enter a login"  should be displayed

Additional info:

Comment 1 Rehana 2016-02-25 11:16:25 UTC
Created attachment 1130468 [details]
FirstbootException

Comment 4 Barnaby Court 2016-02-29 20:19:45 UTC
*** Bug 1312269 has been marked as a duplicate of this bug. ***

Comment 5 Barnaby Court 2016-02-29 20:21:48 UTC
*** Bug 1312271 has been marked as a duplicate of this bug. ***

Comment 6 Barnaby Court 2016-02-29 20:22:19 UTC
Also verify https://bugzilla.redhat.com/show_bug.cgi?id=1312271#c3

Comment 7 Chris Snyder 2016-02-29 22:31:41 UTC
In addition to the original bug, the issue described at https://bugzilla.redhat.com/show_bug.cgi?id=1312271#c3 is fixed in upstream master now that the above PR has been accepted.


Commit info for upstream master:

commit 236cbdf118c65bc6adf64dddeef596061f22400b
Author: Christopher Snyder <csnyder>
Date:   Thu Feb 25 11:51:06 2016 -0500

    1311935: Emits register-message instead of register-error for display of user errors

commit b4881ab68a034c124dfe1bdeee5d576419ce11b1
Author: Adrian Likins <alikins>
Date:   Thu Feb 25 12:50:01 2016 -0500

    1311935: Stylish fixups for firstboot fixes.

Comment 9 Shwetha Kallesh 2016-03-08 08:36:59 UTC
Marking Bug as verified as there are no exceptions being thrown when you click on forward button without entering credentials and a dialog pops up asking user to enter the credentials.Have attached screen shots confirming the same

[root@dhcp35-224 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.16.8-4.el6
python-rhsm: 1.16.6-1.el6

Comment 10 Shwetha Kallesh 2016-03-08 08:39:00 UTC
Created attachment 1134066 [details]
NO unhandled Exception when you click on forward without entering credentials

Comment 11 Shwetha Kallesh 2016-03-08 08:40:10 UTC
Created attachment 1134067 [details]
No Exception when you click on forward without entering activation key details

Comment 13 errata-xmlrpc 2016-05-10 20:40:45 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.

https://rhn.redhat.com/errata/RHBA-2016-0797.html