Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1123668

Summary: Activation keys attached to multiple pools of the same time consume all the pools (instead of choosing the best fit)
Product: Red Hat Satellite Reporter: Ivan Necas <inecas>
Component: Subscription ManagementAssignee: Tom McKay <tomckay>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, bkearney
Target Milestone: UnspecifiedKeywords: Triaged
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-06 07:05:35 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:

Description Ivan Necas 2014-07-27 21:36:22 UTC
Description of problem:
I have more pools available for one subscription (at least the physical and the virtual subscriptions). I want an activation key, that I can attach all the pools to the product and it will choose one of them (ideally, preferring the virtual subscriptions when available and fitting the virtual machine)


Steps to Reproduce:
1. attach some pools to the manifest
2. attach some more pools to the manifest
3. attach even more pools to the manifest
4. import the manifest (you will see bunch of pools there)
5. subscribe a physical host with virt-who running to the pool (causing
another set of pools to be available)
6. create a guest host on the physical one
7. create an activation key, attach all the pools of the product
8. subscribe the guest host with that activation key

Actual results:
Every pool gets one subscription consumed

Expected results:
1 subscription from each pool was consumed, ideally the virtual one preferred over the physical one

Additional info:

Comment 1 RHEL Program Management 2014-07-27 21:43:32 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 Ivan Necas 2014-08-06 07:05:35 UTC

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