Red Hat Bugzilla – Bug 998927
After SAM upgrade 1.2.1 | 1.2 > 1.3 virtual subscription disappears
Last modified: 2013-08-20 08:02:37 EDT
Description of problem:
After SAM upgrade, "org subscriptions" does not show the virtual subscription pool.
Version-Release number of selected component (if applicable):
Upgrade to repo
Steps to Reproduce:
1. Install 1.2.1 or 1.2 SAM release.
2. Create org, 2 environments Library > Test > Dev, import valid manifest, check that "org subscriptions" returns only 1 RHEL pool.
3. Create activation key on Test environment and add RHEL subscription pool from previous step into it. Subscribe a client by that key (rhelKey).
4. "org subscriptions" will return 2 pools, first is the pool with 1 consumption, which was in the step 2. Second pool is the virtual subscription pool with 0 consumption.
5. Create activation key on Dev environment and add virtual pool into it. (virtKey)
6. Upgrade SAM to latest compose.
7. Unregister client. Check that "org subscriptions" return only 1 pool. Verify that "virtKey" activation key exists after upgrade.
8. Subscribe back that client by "rhelKey". It will subscribe successfully.
9. Final Check. Verify that "org subscriptions" must return 2 pools, one is RHEL pool which we saw in step 2, second pool must be the virtual subscriptions pool. Here is the BUG, in fact it returns only the RHEL pool.
"org subscriptions" returns only 1 pool
after SAM upgrade and unregister/register client, "org subscriptions" must return both "RHEL" and "virtual" subscription's pools.
As discussed, if the system being registered is a vm, no bonus pools will be generated. The bonus comes only when the subscription is consumed on a physical host. In this case what is being described is the proper behavior. (It seems likely that older candlepin w/ SAM-1.2.1 was not behaving properly.)