Bug 589102 - Entitlement cert not getting deleted from location /etc/pki/entitlement/product” after unregister
Summary: Entitlement cert not getting deleted from location /etc/pki/entitlement/produ...
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: All
OS: Solaris
Target Milestone: ---
: ---
Assignee: Todd Sanders
QA Contact: Katello QA List
Depends On:
Blocks: ent2
TreeView+ depends on / blocked
Reported: 2010-05-05 12:01 UTC by spandey
Modified: 2019-09-24 14:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2019-09-24 14:17:33 UTC

Attachments (Terms of Use)

Description spandey 2010-05-05 12:01:59 UTC
Description of problem:

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

How reproducible:

Prerequisites :
Server : statler.usersys.redhat.com
client : sachtestRhel6.usersys.redhat.com
SM version : 48

Steps to repro : 

Login to the client with valid credentials 
Register the client with standalone candlepin statler.usersys.redhat.com
subscribe for product monitoring 
execute following command on console to unregister client 

subscription-manager-cli unregister

Expected Result : 
After unregister consumed entitlement cert should be deleted from location /etc/pki/entitlement/product

Actual Result :
Entitlement cert not removed from location “/etc/pki/entitlement/product”

Comment 1 Jeff Ortel 2010-05-12 12:17:39 UTC
Client unregister should not remove the certificates.  The client's entitlement to content has nothing to do with whether it is registered to the UEP or not.  Once the client has obtained a valid entitlement certificate, it should have access to the content for the life of the certificate.

Comment 2 wes hayutin 2010-05-12 12:25:27 UTC
moving to on_qa for qe to verify.  Lets verify that the cli and gui are consistent w/ unregister.  Lets also verify whether or not there is a difference between certs getting removed from

1. /etc/pki/product
2. /etc/pki/entitilement/product

Its my current understanding, and I could be wrong, that when a customer unregisters, certificates should be removed from /etc/pki/entitlement/product.

Can QE get clarification here..
Thank you!

Comment 3 spandey 2010-05-12 13:17:24 UTC
yes it used to do before 

when we unregister cert was getting deleted from location /etc/pki/entitlement/product

Tested with latest sm version 60 
after unregister entitlement folder is getting deleted from location /etc/pki/

using SM vsersion 60

as per my understanding this is working as expected 

so i am moving defect status from ON_QA to verified

Comment 4 John Sefler 2011-05-04 14:41:23 UTC
Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING

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