Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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.