Bug 596226

Summary: Using copied cert from "entitlement/product" to "product" SM displays wrong status for subscribed entitlemet via gui/cli
Product: Red Hat Enterprise Linux 6 Reporter: spandey
Component: subscription-managerAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: kbanerje, spandey
Target Milestone: rcKeywords: QA-Closed
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-26 12:57:15 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:

Description spandey 2010-05-26 12:23:47 UTC
Description of problem:


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


How reproducible:
100%

Prequisities : 
Candlepin : statler.usersys.redhat.com
client : Rhel6 with SM version 60

Steps to Repro :
Login to client with valid credentials 
subscribed for product “Load Balance” and “Red Hat Enterprise Linux Advanced Platform”
execute following on console 

subscription-manager-cli list 

it will display correct status of entitlement (Not Installed)
copy certs from /etc/pki/entilement/product to /etc/pki/product/

execute following command on console 

subscription-manager-cli list 

Expected Result : 
Status of entitlement should not change if we not installed product 

Actual Result : 
Status of Entitlement Got changed form not installed to subscribed .

Comment 2 Pradeep Kilambi 2010-05-26 12:57:15 UTC
This is expected behavior. Of course its gonna say your subscribed as the product namespace in product and ent directory are exactly the same.