Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 589102 - Entitlement cert not getting deleted from location /etc/pki/entitlement/product” after unregister
Entitlement cert not getting deleted from location /etc/pki/entitlement/produ...
Status: RELEASE_PENDING
Product: Candlepin
Classification: Community
Component: candlepin (Show other bugs)
0.5
All Solaris
low Severity medium
: ---
: ---
Assigned To: Todd Sanders
Katello QA List
: Reopened
Depends On:
Blocks: ent2
  Show dependency treegraph
 
Reported: 2010-05-05 08:01 EDT by spandey
Modified: 2015-05-14 11:23 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-12 08:17:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description spandey 2010-05-05 08:01:59 EDT
Description of problem:


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


How reproducible:
100%

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 08:17:39 EDT
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 08:25:27 EDT
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
and 
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 09:17:24 EDT
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 10:41:23 EDT
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.