Bug 680176

Summary: Alter channel subscriptions: number of available subscriptions shown is incorrect for free guests (virt. / virt. platform)
Product: Red Hat Satellite 5 Reporter: Milan Zázrivec <mzazrivec>
Component: VirtualizationAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Martin Minar <mminar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 540CC: cperry, jhutar, mkoci, mminar, slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-1.2.39-61 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-17 02:29:56 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: 677501    

Description Milan Zázrivec 2011-02-24 14:57:02 UTC
Description of problem:
Alter channel subscriptions page (rhn/systems/details/SystemChannels.do) shows
incorrect information about available child channel subscriptions for guests
that are supposed to consume unlimited entitlements (i.e. guests running
on hosts with 'Virtualization' or 'Virtualization Platform' entitlement).

Version-Release number of selected component (if applicable):
spacewalk-java-1.2.39-37

How reproducible:
Always

Steps to Reproduce:
1. Virtual host with running guest(s), all registered to Satellite 5.4
2. Virtual host has a 'Virtualization' or 'Virtualization Platform' entitlement
assigned
3. In the webui, try to subscribe the guest to a child channel (rhn-tools
for example) and notice the number of available subscriptions available
  
Actual results:
The page shows number of either flex or regular entitlements available, when
in fact these number do not matter in these situations.

Expected results:
It should be obvious that the subscriptions in these situations are unlimited.

Additional info:
N/A

Comment 1 Clifford Perry 2011-03-12 18:47:33 UTC
Releated to bug 673392  &   bug 683539

Comment 2 Milan Zázrivec 2011-04-27 12:33:00 UTC
spacewalk.git master: fe350b446aec70d1003ffa1677fb6e1912fd0b15
satellite.git SATELLITE-5.4: d5ca1aedccc7a1ff161445567c8d6f0741f2b7cb

Comment 5 Šimon Lukašík 2011-06-08 08:25:08 UTC
Verified in stage with spacewalk-java-1.2.39-82.el5sat

Testing procedure:
- register rhel5 host
- add Virtualization entitlement
- register rhel5 and rhel6 flex guests
- visit their SystemChannels.do page
- page shows (unlimited) counting for child specific (e.g. rhn tools)

Comment 6 Clifford Perry 2011-06-17 02:29:56 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.

https://rhn.redhat.com/errata/RHSA-2011-0879.html