Bug 696674

Summary: Rhsmcertd service is not updating cert in “/etc/pki/entitlement location”
Product: Red Hat Enterprise Linux 5 Reporter: spandey
Component: subscription-managerAssignee: Adrian Likins <alikins>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7CC: alikins, cduryee, jsefler, kbanerje, spandey
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 08:45:12 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: 675214    
Attachments:
Description Flags
client rhsm.log none

Description spandey 2011-04-14 15:24:54 UTC
Description of problem:


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


How reproducible:
5/5

Prequisities : 
Rhel 5.7 client with latest subscription manager 

Steps to repro :
Register client  to candlepin
set rhsmcertd frequency for 1 min.
subscribe product A 
Remove Product A entitlement cert from “/etc/pki/entitlement”


Expected Result : 
Rhsmcertd service should re download deleted cert from candlepin.

Actual Result : 
Rhsmcertd service is not downloading deleted cert form candlepin .

Comment 1 spandey 2011-04-14 15:28:32 UTC
Created attachment 492149 [details]
client rhsm.log

Comment 2 Adrian Likins 2011-04-14 17:58:27 UTC
ugh, looks like rhsmcertd is looking for certmgr.py in the wrong place.

I could of sworn I fixed that.

Comment 3 Adrian Likins 2011-04-14 18:31:00 UTC
(RHEL5.7)
commit d23873e1cecce602b5c033b0e661ec953d0a0c7f
Author: Adrian Likins <alikins>
Date:   Thu Apr 14 14:03:22 2011 -0400

    696674: rhsmcertd was using the wrong path for certmgr.py

(master)

commit e37537e2b9c18a8cac2fec764aedfd1e2bccaeb9
Author: Adrian Likins <alikins>
Date:   Thu Apr 14 14:03:22 2011 -0400

    696674: rhsmcertd was using the wrong path for certmgr.py

Comment 4 spandey 2011-04-29 12:37:38 UTC
Verified Using following setup : 

Candlepin: on-premises
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


Working fine 
Moving defect status from Modified to Verified

Comment 5 errata-xmlrpc 2011-07-21 08:45:12 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 6 errata-xmlrpc 2011-07-21 12:30:09 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