Bug 751158 - Virtual pools are being shown for SAM distributor consumers
Summary: Virtual pools are being shown for SAM distributor consumers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: Unspecified
OS: Solaris
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-03 17:18 UTC by Jeff Abbott
Modified: 2015-05-14 15:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-01 14:43:51 UTC


Attachments (Terms of Use)

Description Jeff Abbott 2011-11-03 17:18:20 UTC
Description of problem:
When looking at available subscriptions for a Subscription Asset Manager consumer, "System: Virtual" pools are shown.  I believe this should not be the case, and that SAM consumers should only show physical pools.


How reproducible:
Always.


Steps to Reproduce:
1. Hit https://rails-fte.gss.devlab.phx1.redhat.com/management/distributors and log in as dev2_test_4 with the usual dev password.
2. Select the jabbott-test distributor, or create a new one of your choosing.
3. Look at the "Available Subscriptions" tab and note that it contains subscriptions of type "System: Virtual."

  
Actual results:
See above, in step #3.

Expected results:
There should only be "System: Physical" pools in available subs.

Comment 1 Devan Goodwin 2011-11-08 13:35:53 UTC
Have a fix ready for this but it is dependent on another patch being worked on that isn't in the repo yet. Will update shortly.

Comment 2 Devan Goodwin 2011-11-10 20:48:48 UTC
Modified the bind rule so manifest consumers cannot see or bind to anything
pool derived.

Will appear in candlepin-0.4.26-1:

master: 987f600f1f5e1b3bdf8a8d7ebb0d2c6e4457843f
0.4: e72a8d2da0709e344a3f3c782313563b544696e7

Comment 3 Jakub Dorňák 2012-03-01 10:42:59 UTC
I am just going to file bug saying:
When looking at available subscriptions for a Subscription Asset Manager
consumer, "System: Virtual" pools are not shown. I believe this should not be the
case, and that SAM consumers should show all pools.

How can I subscribe virtual machine to the virtual pool with SAM if I can't add virtual pool?

Comment 4 Amanda Carter 2012-03-01 14:43:51 UTC
SAM consumers only use physical pools and unbundle these locally to create the virt pools that belong to  the subscription. The intent is that you cannot use a virt pool in SAM without using the physical pool also. Allowing a user to break them apart in hosted will break that linkage in SAM. The display is working as designed.


Note You need to log in before you can comment on or make changes to this bug.