Bug 569758

Summary: entitlement counter for machines in SSM doesn't work
Product: Red Hat Satellite 5 Reporter: Petr Sklenar <psklenar>
Component: UsabilityAssignee: Partha Aji <paji>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: low    
Version: 530CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-05 22:53:38 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:
Bug Depends On:    
Bug Blocks: 487678    

Description Petr Sklenar 2010-03-02 10:13:49 UTC
Description of problem:
Add child channel for machines in SSM and this change is not reflected by entitlement counter. If you change one system from SSM after group change then counter shows correct numbers.

Version-Release number of selected component (if applicable):
sat531, fully sync from rhn.stage at date 

How reproducible:
always

Steps to Reproduce:
1. add 10 systems to SSM , with only default base channel

2. see Software Channel Entitlements Across RHN Satellite 
Red Hat Network Tools for Red Hat Enterprise Linux total=400000 available=399866

3. 10 systems to SSM -> subscribe to child channel 'Red Hat Network Tools'

4. see Software Channel Entitlements Across RHN Satellite 
Red Hat Network Tools for Red Hat Enterprise Linux total=400000 available=399866
# no change but 10 systems was subscribed to RHN tools channel

5. go to one system from SSM - > Software Channel Subscriptions 
Red Hat Network Tools for RHEL Server (v.5 64-bit x86_64)  (399866 available) 

unsubscribe 'rhn tools channels'

6. counters are CORRECT now:
A]
one system , Software Channel Subscriptions
Red Hat Network Tools for RHEL Server (v.5 64-bit x86_64)  (399857 available) 
unsubscribe 'rhn tools channels'


B]
Software Channel Entitlements Across RHN Satellite:
Red Hat Network Tools for Red Hat Enterprise Linux total=400000 available=399857

  
Actual results:
entitlement counter is not working when child channel is added to systems in SSM

Expected results:
entitlement counter reflects changes in SSM  immediately

Additional info:

Comment 1 Partha Aji 2010-08-05 22:53:38 UTC

*** This bug has been marked as a duplicate of bug 595473 ***