Created attachment 597717[details]
applied subscription of key1
Description of problem:
When client registering to SAM with Activation key that binded one product pool, it will generate one virtual product pool for other Activation keys.
It should be generated only when the client is Host and the virt-who is running.
If the client is not host and the virt-who is stop, it should not generate the virt "Available subscriptions".
Version-Release number of selected component (if applicable):
katello-certs-tools-1.1.5-1.el6_2.noarch
katello-configure-0.3.7-1.el6_2.noarch
katello-cli-headpin-0.2.2-1.el6_2.noarch
katello-common-0.3.3-1.el6_2.noarch
katello-cli-common-0.3.5-2.el6_2.noarch
katello-headpin-0.2.13-1.el6_2.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-selinux-0.2.4-1.el6_2.noarch
katello-headpin-all-0.2.13-1.el6_2.noarch
katello-glue-candlepin-0.3.3-1.el6_2.noarch
candlepin-tomcat6-0.6.5-1.el6_2.noarch
candlepin-0.6.5-1.el6_2.noarch
How reproducible:
100%
Steps to Reproduce:
1. Create an Activation key key1 that bind the product pool and create another Activation key key2. See the attachment1[details]
2. List the "Available subscriptions" of key2, see the attachment2[details]
2. Register client by key1
3. List the "Available subscriptions" of key2, see the attachment3[details]
Actual results:
List the "Available subscriptions" of key2, we can see one product pool is virtual pool, and we can choose the pool add to key2.
Expected results:
Should not generate the virtual "Available subscriptions" to key2.
Additional info:

I believe this is working as intended. The generation of the virtual guest subscription is not based upon whether the consuming system of the original subscription is currently a host or no.
If you have questions surrounding this, please let me know otherwise I will close this ticket.
Thanks!

Note

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