Hide Forgot
Description of problem: While testing one sub pool per stack implementation on instance based subcription, observed that if a "future" instance based subscription is attached on the host, the sub-pool on the gest was providing subscription for the other product along with instance based product Version-Release number of selected component (if applicable): host sub-man version subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.21-1 subscription-manager: 1.9.5-1.el6 python-rhsm: 1.9.4-1.el6 guest sub-man version subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.21-1 subscription-manager: 1.9.5-1.git.0.64f1883.el6 python-rhsm: 1.9.4-1.git.0.cfef6c8.el6 How reproducible: 3/3 Steps to Reproduce: 1.Set the cpu socket count to 22 to create stack of instance based subscription 2.Register the host machine 3.register and auto-attach [root@rehanatestmachine consumer]# subscription-manager register --auto-attach Username: admin Password: Organization: admin The system has been registered with ID: 9543b940-ce68-4951-a633-f91c19729077 Installed Product Current Status: Product Name: Awesome OS Instance Server Bits Status: Subscribed Product Name: Multi-Attribute Limited Product Status: Subscribed [root@rehanatestmachine consumer]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 42 Account: 12331131231 Serial: 3959062448270191232 Pool ID: 8ac6a36240a9fefd0140aa000270089d Active: True Quantity Used: 10 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/23/2013 Ends: 08/23/2014 Subscription Name: Multi-Attribute Stackable (2 sockets) Provides: Multi-Attribute Limited Product SKU: sock2-multiattr Contract: 205 Account: 12331131231 Serial: 6955500315124727049 Pool ID: 8ac6a36240a9fefd0140a9fff9ae0576 Active: True Quantity Used: 6 Service Level: Premium Service Type: Level 3 Status Details: Starts: 08/23/2013 Ends: 08/23/2014 Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 43 Account: 12331131231 Serial: 7860217563530441903 Pool ID: 8ac6a36240a9fefd0140aa00024c088e Active: True Quantity Used: 12 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/23/2013 Ends: 08/23/2014 Subscription Name: Multi-Attribute Stackable (2 sockets) Provides: Multi-Attribute Limited Product SKU: sock2-multiattr Contract: 204 Account: 12331131231 Serial: 4147656606129801642 Pool ID: 8ac6a36240a9fefd0140a9fff9c70582 Active: True Quantity Used: 5 Service Level: Premium Service Type: Level 3 Status Details: Starts: 08/23/2013 Ends: 08/23/2014 4.Now added a future "Instance based subscription" through gui [root@rehanatestmachine consumer]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 43 Account: 12331131231 Serial: 5447745479031565405 Pool ID: 8ac6a36240a9fefd0140aa00022f087f Active: False Quantity Used: 2 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/13/2014 Ends: 08/13/2015 Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 42 Account: 12331131231 Serial: 3959062448270191232 Pool ID: 8ac6a36240a9fefd0140aa000270089d Active: True Quantity Used: 10 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/23/2013 Ends: 08/23/2014 Subscription Name: Multi-Attribute Stackable (2 sockets) Provides: Multi-Attribute Limited Product SKU: sock2-multiattr Contract: 205 Account: 12331131231 Serial: 6955500315124727049 Pool ID: 8ac6a36240a9fefd0140a9fff9ae0576 Active: True Quantity Used: 6 Service Level: Premium Service Type: Level 3 Status Details: Starts: 08/23/2013 Ends: 08/23/2014 Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 43 Account: 12331131231 Serial: 7860217563530441903 Pool ID: 8ac6a36240a9fefd0140aa00024c088e Active: True Quantity Used: 12 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/23/2013 Ends: 08/23/2014 Subscription Name: Multi-Attribute Stackable (2 sockets) Provides: Multi-Attribute Limited Product SKU: sock2-multiattr Contract: 204 Account: 12331131231 Serial: 4147656606129801642 Pool ID: 8ac6a36240a9fefd0140a9fff9c70582 Active: True Quantity Used: 5 Service Level: Premium Service Type: Level 3 Status Details: Starts: 08/23/2013 Ends: 08/23/2014 5. On the guest machine, do register with auto-attach [root@rhel65nightly product]# subscription-manager register --auto-attach Username: admin Password: Organization: admin The system has been registered with ID: fbd7d18a-b345-4678-8802-19877a6a5a61 Installed Product Current Status: Product Name: Multi-Attribute Limited Product Status: Subscribed Product Name: Awesome OS Instance Server Bits Status: Subscribed Product Name: Core Limiting Product Status: Subscribed Product Name: RAM Limiting Product Status: Subscribed [root@rhel65nightly product]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Multi-Attribute Limited Product ------------------> the product "multiattribute" Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 42 Account: 12331131231 Serial: 1384802233083678802 Pool ID: 8ac6a36240aa56f80140aa9364240198 Active: True Quantity Used: 1 Service Level: Premium Service Type: Level 3 Status Details: Starts: 08/23/2013 Ends: 08/13/2015 Subscription Name: RAM Limiting Package (4GB stackable) Provides: RAM Limiting Product SKU: ram-4gb-stackable Contract: 174 Account: 12331131231 Serial: 1467384061461021866 Pool ID: 8ac6a36240a9fefd0140a9fffb4d0611 Active: True Quantity Used: 3 Service Level: Service Type: Status Details: Starts: 08/23/2013 Ends: 08/23/2014 Subscription Name: Stackable Cores Package (8 cores) Provides: Core Limiting Product SKU: cores-8-stackable Contract: 198 Account: 12331131231 Serial: 2687540563559400416 Pool ID: 8ac6a36240a9fefd0140a9fffa0f05a2 Active: True Quantity Used: 4 Service Level: Service Type: Status Details: Starts: 08/23/2013 Ends: 08/23/2014 Actual results: Observed that the "Awesome OS Instance Based (Standard Support)" sub-pool subscription is also providing another product called "Multi-Attribute Limited Product" Expected results: should be providing the "Awesome OS Instance Based" product only Additional info: The same is observed when tried with steps Register host, auto-attach subs register guest, auto-attach subs added future subscription on the host execute rhsmcertd restart on the guest
I've found an issue with the query we make to list all of a consumer's entitlements in a stack. I'll have a fix ready fairly soon.
Fixed by: https://github.com/candlepin/candlepin/pull/356 Commit: https://github.com/candlepin/candlepin/commit/9385799a85e219fff3b1b3d3ad343e3b4abbf25b Available in: candlepin-0.8.23-1
Retested on subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.24-1 Attached future instance based subscription on fully compliant host machine [root@rehanatestmachine ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 43 Account: 12331131231 Serial: 5693754919167963800 Pool ID: 8ac6a36240ce8b0a0140ce8c11280832 Active: True Quantity Used: 20 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/30/2013 Ends: 08/30/2014 Subscription Name: Multi-Attribute Stackable (2 sockets) Provides: Multi-Attribute Limited Product SKU: sock2-multiattr Contract: 205 Account: 12331131231 Serial: 5467868560103482062 Pool ID: 8ac6a36240ce8b0a0140ce8c08710519 Active: True Quantity Used: 10 Service Level: Premium Service Type: Level 3 Status Details: Starts: 08/30/2013 Ends: 08/30/2014 Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 43 Account: 12331131231 Serial: 7553889926924476085 Pool ID: 8ac6a36240ce8b0a0140ce8c110e0823 Active: False Quantity Used: 2 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/20/2014 Ends: 08/20/2015 Subscription Name: Multi-Attribute Stackable (2 sockets) Provides: Multi-Attribute Limited Product SKU: sock2-multiattr Contract: 204 Account: 12331131231 Serial: 52301070458167273 Pool ID: 8ac6a36240ce8b0a0140ce8c08930526 Active: True Quantity Used: 1 Service Level: Premium Service Type: Level 3 Status Details: Starts: 08/30/2013 Ends: 08/30/2014 Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 42 Account: 12331131231 Serial: 6438468078458541407 Pool ID: 8ac6a36240ce8b0a0140ce8c11420841 Active: True Quantity Used: 2 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/30/2013 Ends: 08/30/2014 on the guest machine [root@rhel65nightly product]# subscription-manager register --auto-attach Username: admin Password: Organization: admin The system has been registered with ID: a589c4bd-586b-4b59-a636-997c4a64cced Installed Product Current Status: Product Name: Multi-Attribute Limited Product Status: Subscribed Product Name: Awesome OS Instance Server Bits Status: Subscribed Product Name: Core Limiting Product Status: Subscribed Product Name: RAM Limiting Product Status: Subscribed [root@rhel65nightly product]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 43 Account: 12331131231 Serial: 4859401032489146915 Pool ID: 8ac6a36240ce8b0a0140e7a6749e36f4 Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Starts: 08/30/2013 Ends: 08/20/2015 Subscription Name: Stackable Cores Package (8 cores) Provides: Core Limiting Product SKU: cores-8-stackable Contract: 198 Account: 12331131231 Serial: 1056253738276722436 Pool ID: 8ac6a36240ce8b0a0140ce8c08de0546 Active: True Quantity Used: 5 Service Level: Service Type: Status Details: Starts: 08/30/2013 Ends: 08/30/2014 Subscription Name: Multi-Attribute Stackable (4 cores) Provides: Multi-Attribute Limited Product SKU: cores4-multiattr Contract: 211 Account: 12331131231 Serial: 5546970773828280498 Pool ID: 8ac6a36240ce8b0a0140ce8c081b04f6 Active: True Quantity Used: 10 Service Level: Premium Service Type: Level 3 Status Details: Starts: 08/30/2013 Ends: 08/30/2014 Subscription Name: RAM Limiting Package (8GB) Provides: RAM Limiting Product SKU: ram-8gb Contract: 169 Account: 12331131231 Serial: 7239807838015652903 Pool ID: 8ac6a36240ce8b0a0140ce8c0a9e05c6 Active: True Quantity Used: 1 Service Level: Service Type: Status Details: Starts: 08/30/2013 Ends: 08/30/2014 Observed that the sub-pool was providing the "Awesome OS Instance Based" product only. As discussed with john, moving the bug to verified