Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 854380

Summary: "Have no overlap with existing subscriptions" Filter Functionality Change for Stacking/Partially Subscribed
Product: Red Hat Enterprise Linux 5 Reporter: Matt Reid <mreid>
Component: subscription-managerAssignee: Carter Kozak <ckozak>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, ckozak, jesusr, jgalipea, jmolet, jsefler
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 22:49:59 UTC Type: Bug
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: 840995    

Description Matt Reid 2012-09-04 20:22:18 UTC
Description of problem:
If you partially subscribe, but need additional subscriptions to fully cover your socket count, when you go back to the All Available Subscriptions tab to attach more, you have to remove a filter option to get any of them to show. I don't think we should consider those subscriptions as overlapping if their system is currently in a partially subscribed state. Once they are green and fully subscribed, I'd consider them overlapping, but not before.

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

How reproducible:
Always

Steps to Reproduce:
1. Register to stage
2. Override socket count
3. Partially subscribe
4. Close Sub-man-gui
5. Re-open sub-man-gui and go to All Available Subscriptions tab, click update
  
Actual results:
Table shows "No subscriptions match current filters."

Expected results:
Table should show subscriptions that could stack with your attached subscription(s) so that they can easily become green.

Currently, they must have the "Have no overlap with existing subscriptions" option (which defaults to being enabled) unchecked before they will see these subscriptions.

Additional info:

Comment 1 RHEL Program Management 2013-05-08 14:38:59 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 Carter Kozak 2013-06-10 14:33:46 UTC
commit 14d829957f2f4fe579a72cb9b4f2b8325a513435
Author: ckozak <ckozak>
Date:   Fri Jun 7 11:53:33 2013 -0400

    854380: fix overlap filter

Comment 4 John Sefler 2013-07-02 22:33:04 UTC
Verifying Version...
[root@jsefler-5 ~]# rpm -q subscription-manager-gui
subscription-manager-gui-1.8.11-1.el5

The fix appears to be working for me, but would like a second opinion.

Comment 5 J.C. Molet 2013-07-03 16:09:38 UTC
I could not test this in stage due to stage issues, but against stand alone i was able to get this working with the test product "Multi-Attribute Limited Product".  With 8 sockets, I attached to the socket subscription for this until I was completely covered.  Only then did the filter not show that subscription.

I was using subscription-manager-gui-1.8.11-1.el5 , the latest package in brew.

Comment 7 errata-xmlrpc 2013-09-30 22:49:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1332.html