Bug 694837 - Can't unsubscribe from imported cert
Summary: Can't unsubscribe from imported cert
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.7
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: ---
Assignee: Chris Duryee
QA Contact:
URL:
Whiteboard:
Depends On: 691784
Blocks: 675214
TreeView+ depends on / blocked
 
Reported: 2011-04-08 15:07 UTC by Adrian Likins
Modified: 2011-07-21 12:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 691784
Environment:
Last Closed: 2011-07-21 08:46:54 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1078 0 normal SHIPPED_LIVE new package: subscription-manager 2011-07-21 08:45:07 UTC

Comment 1 Adrian Likins 2011-04-08 15:28:07 UTC
commit 1ad23b87c0ad4a33b8a0d9effce297c9ac70684a
Author: Adrian Likins <alikins>
Date:   Fri Apr 8 11:22:48 2011 -0400

    694837: Fix handling of unsubscribing imported certs while unregistered
    
    The core of the bugfix is in mysubstab._on_unsubscribe_prompt_response.
    We don't try to unbindBySerial if we are not registered (via new
    managerGui.Backend.is_registered()). We also try/except around
    the update to catch the Disconnected exception if well, we are
    disconnected. We also change the store serial type to long, so
    the cert lookup works correctly.
    
    we also remove some unused code from certlib/certmgr (the *add) code
    and refactor certlib.delete to expect an array of longs, not a
    var arg.

Comment 2 Adrian Likins 2011-04-12 15:10:55 UTC
commit 79012d05859f6be2f13c8150dd4ebe82fbac6c49
Author: Adrian Likins <alikins>
Date:   Tue Apr 12 11:07:34 2011 -0400

    694837: fix entitlement failure that throws sequence error
    
    This is something of an addendum to f2cd16f571cd2a05f05b7e914c28d5b5d41adef9
    A touch too much was deleted in that commit.

Comment 3 spandey 2011-04-29 13:48:42 UTC
Verified Using following setup : 

on-premises: candlepin 
subscription-manager : 

subscription-manager-firstboot-0.95.5.8-1.git.6.42d8706.el5
subscription-manager-0.95.5.8-1.git.6.42d8706.el5
subscription-manager-gnome-0.95.5.8-1.git.6.42d8706.el5


created a copy of subscribed entitlement cert 
unregister client 
Imported copied entitlement crt.
unsubscribe imported cert using unsubscribe button 

Sucessfully unsubscribed 

Moving defect status from Modified to Verified

Comment 4 errata-xmlrpc 2011-07-21 08:46:54 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html

Comment 5 errata-xmlrpc 2011-07-21 12:29:56 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html


Note You need to log in before you can comment on or make changes to this bug.