Bug 1132374

Summary: Registering a host to an AK with one fully utilized pool, and one with available subs fails
Product: Red Hat Satellite Reporter: Stephen Benjamin <stbenjam>
Component: Subscription ManagementAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: stbenjam, tomckay
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-21 10:13:57 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: 1132363    

Description Stephen Benjamin 2014-08-21 09:08:51 UTC
Description of problem:
When adding subscriptions from an available pool more than once (adding a subset each time), subscription-manager registration fails if one of the pools in an AK is full.

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

How reproducible:


Steps to Reproduce:
1. Create a manifest in the customer portal, add a subset of one RHEL w/ Smart Management subscription, e.g. 1 out of the available X.

2. Import the sub to Satellite, add it to an AK, and register a host to it.

3. Go to the portal, and add the remaining subs, add RHEL sub to existing AK


Actual results:
Failure - it reports no available subscriptions for pool XXXXXXX>

Expected results:
System is registered

Additional info:

Comment 1 RHEL Program Management 2014-08-21 09:13:06 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Tom McKay 2014-08-21 10:01:44 UTC
If I am reading this correctly, this is the correct behavior: All subscriptions associated with an activation key are applied to a content host registering. If any of the subs fail to apply, the registration fails. Subs are not optional.

Please close this as not a bug if this is what is being reported.

Comment 4 Stephen Benjamin 2014-08-21 10:05:02 UTC
Subscriptions of the same kind, e.g. 'Red Hat Enterprise Linux w/ Smart Management' should be treated as a bucket, otherwise a customer won't be able to purchase more subscriptions and add them to the same activation key.

Comment 5 Stephen Benjamin 2014-08-21 10:13:57 UTC

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