Bug 636587

Summary: Software subscription page showing wrong value for Subscribed systems
Product: Red Hat Satellite 5 Reporter: Partha Aji <paji>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Kastner <jkastner>
Severity: medium Docs Contact:
Priority: low    
Version: 540CC: cperry, jhutar, jkastner, mmraka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-1.2.39-12-sat Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 15:04:01 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 Partha Aji 2010-09-22 16:08:50 UTC
Description of problem:
In the Subscription Management -> Software Channel Entitlement page, the systems subscribed numbers are not org aware so show the wrong value...


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


How reproducible: always


Steps to Reproduce:
1. Register systems in 2 orgs.
2. Subscription Management -> Software Channel Entitlements
3. Look at the Subscribed Systems value for Linux Core Server as users of either orgs.
  
Actual results:
The number of systems show the value for systems across ALL orgs.

Expected results:
The number of systems show the value for systems in that specific org.

Additional info:

Comment 2 Jiri Kastner 2010-10-06 14:03:47 UTC
1.) login
2.) click overview->subscription management
3.) click overview->subscription management->software channel entitlements
4.) check values from 'Red Hat Enterprise Linux (core server)' line

for orga:
available	2532
flex available	30
used		1
flex used		0
total		2563

for orgb:
available	9
flex available	9
used		1
flex used		1
total		20

for orgc:
available	7
flex available	9
used		3
flex used		1
total		20
###################################
total all:	2603(50 flex)
cert file:
 <rhn-cert-field name="channel-families" quantity="2603" flex="50" family="rhel-server"/>

Comment 3 Michael Mráka 2010-10-21 08:44:14 UTC
Verified in stage.
Org 1: Management:	12 systems entitled, 5540 available entitlements (5552 total)
Org 2:  Management:	1 system entitled, 99 available entitlements (100 total)
...

System Entitlements Across RHN Satellite
Management (Base) 	5673 	5540 	14 of 133 (11%)

Comment 4 Clifford Perry 2010-10-28 14:58:38 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford