Bug 744393

Summary: [ALL LANG] [RHSM FirstBoot] Unsubscribe from the imported subscription produces traceback.
Product: Red Hat Enterprise Linux 6 Reporter: Lijun Li <lijli>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED NOTABUG QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2CC: aalam, alikins, khong, lijli, smaitra
Target Milestone: rcKeywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-12 19:30:08 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: 756082, 771481    
Attachments:
Description Flags
Unsubscribe from the imported subscription produces traceback. none

Description Lijun Li 2011-10-08 09:27:48 UTC
Created attachment 527017 [details]
Unsubscribe from the imported subscription produces traceback.

Description of problem:
Unsubscribe from the imported subscription produces traceback.

Version-Release number of selected component (if applicable):
subscription-manager-0.96.12-1.el6


How reproducible:
100%

Pre-Steps:
1. Logon to https://access.stage.redhat.com/management/
2. Create a new system and name it by using hostname. Let the system subscribe to a subscription.
3. Download the Entitlement Certificate in your local system from the site from Applied Subscriptions.

Steps to Reproduce:
1. Logon system with others locale.
2. Run firstboot --reconfig in terminal ,register system with subscription
manager via firstboot
3. Import that downloaded certificate into the local system.
4. Unsubscribe from the imported subscription.

Actual results:
Unsubscribe from the imported subscription produces traceback.

Expected results:
No traceback occurred.

Additional info:

Comment 2 A S Alam 2011-10-10 03:31:39 UTC
is this issue exist in English locale (en_US)?

Comment 3 Lijun Li 2011-10-10 06:10:07 UTC
(In reply to comment #2)
> is this issue exist in English locale (en_US)?

Yes, it exist in English locale (en_US)

Comment 4 Adrian Likins 2011-10-10 16:11:28 UTC
Does firstboot continue normally after this? We should be catching and logging 
the restlibException, displaying the error, and continuing. 

Ideally that traceback wouldn't be shown, but it should be handled and ignored.

If this doesn't stop the flow of firstboot/subscription-manager, I don't think it
is a blocker.

Comment 5 Lijun Li 2011-10-11 02:49:12 UTC
(In reply to comment #4)
> Does firstboot continue normally after this? We should be catching and logging 
> the restlibException, displaying the error, and continuing. 
> 
> Ideally that traceback wouldn't be shown, but it should be handled and ignored.
> 
> If this doesn't stop the flow of firstboot/subscription-manager, I don't think
> it
> is a blocker.

Hi Adrian,
The firstboot continue normally after this and it doesn't stop the flow of firstboot/subscription-manager, just displayed the traceback.

Thanks,
Robert.

Comment 10 RHEL Program Management 2012-07-10 08:48:53 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 11 RHEL Program Management 2012-07-11 02:08:07 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 12 Adrian Likins 2012-11-12 19:17:12 UTC
Current version of the firstboot modules do not allow importing
an entitlement cert during firstboot. 

Testing this with just subscription-manager-gui seems to work
for me. 

I suspect this is no longer a bug.

Comment 13 Adrian Likins 2012-11-12 19:30:08 UTC
Yeah, importing certs in firstboot isnt support now, so not a bug now.