Bug 789008

Summary: When providing invalid credential with rhn-migrate-classic-to-rhsm it throws a generic message
Product: Red Hat Enterprise Linux 6 Reporter: spandey
Component: subscription-managerAssignee: Alex Wood <awood>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3CC: awood, jmolet, jsefler, kbanerje, mstead, skallesh, spandey
Target Milestone: rc   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 804109 (view as bug list) Environment:
Last Closed: 2012-06-20 13:05:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 738066, 804109    

Description spandey 2012-02-09 15:11:08 UTC
Description of problem:


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


How reproducible:
3/3

Prerequisites : 
Rhel5.8 with following rpm 
subscription-manager-migration-0.98.14-1.el5
subscription-manager-0.98.14-1.el5
subscription-manager-migration-data-1.11-1.el5

 Steps: 
Register machine to rhn classic
.
Use rhn-migrate-classic-to-rhsm for migration with invalid rhn credentials.

 Expected Result: The error message should be more specific, some thing like your user name/password is incorrect.

 Actual result: It throws the following error message:
           ----------------------------------------
 [root@ibm-z10-25 yum.repos.d]# rhn-migrate-classic-to-rhsm 
RHN Username: test
Password: 
Unable to connect to certificate server.  See /var/log/rhsm/rhsm.log for more details.

Comment 1 Alex Wood 2012-03-15 19:03:01 UTC
Committed 7d7208d88c1858104233c1c1a3b262f33916711e

Available subscription-manager-0.99.11+

Comment 3 spandey 2012-04-02 10:51:28 UTC
Verified using following rpm 

subscription-manager-gnome-0.99.12-1.git.13.5a664a0.el6.x86_64
subscription-manager-firstboot-0.99.12-1.git.13.5a664a0.el6.x86_64
subscription-manager-migration-data-1.12.1.2-1.git.0.9e244c8.el6.noarch
subscription-manager-migration-0.99.12-1.git.13.5a664a0.el6.x86_64
subscription-manager-0.99.12-1.git.13.5a664a0.el6.x86_64




[root@dhcp201-196 /]# rhn-migrate-classic-to-rhsm 
RHN Username: testuser1
Password: 
Unable to connect to certificate server: Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html.  See /var/log/rhsm/rhsm.log for more details.

Working fine Moving defect status to verified

Comment 5 errata-xmlrpc 2012-06-20 13:05:35 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