Bug 579908 - IT candlepin, entitlements are not returned to pool once they have been consumed
Summary: IT candlepin, entitlements are not returned to pool once they have been consumed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: All
OS: Solaris
medium
medium
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: ent2
TreeView+ depends on / blocked
 
Reported: 2010-04-06 21:41 UTC by wes hayutin
Modified: 2018-12-10 15:37 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-12-10 15:37:08 UTC
Embargoed:


Attachments (Terms of Use)

Description wes hayutin 2010-04-06 21:41:51 UTC
Description of problem:

Recreate

1.
[root@whayutin ~]# subscription-manager-cli list --available
 	productId                 	endDate                   	id         	quantity                  
------------------------------------------------------------------------------------------------
	MCT0982                   	2011-04-06T11:11:01.681-04:00 	73         	1                        
	MCT0696                   	2011-04-06T11:11:01.681-04:00 	74         	1                        
[root@whayutin ~]# subscription-manager-cli subscribe --product=MCT0982
[root@whayutin ~]# subscription-manager-cli subscribe --product=MCT0696
[root@whayutin ~]# subscription-manager-cli list --available
No Available subscription pools to list

2. now unsubscribe the products
subscription-manager-cli unsubscribe --product MCT0982
 subscription-manager-cli unsubscribe --product=MCT0696

3. [root@whayutin ~]# subscription-manager-cli list --available
No Available subscription pools to list


Expected Results:
[root@whayutin ~]# subscription-manager-cli list --available
 	productId                 	endDate                   	id         	quantity                  
------------------------------------------------------------------------------------------------
	MCT0982                   	2011-04-06T11:11:01.681-04:00 	73         	1                        
	MCT0696                   	2011-04-06T11:11:01.681-04:00 	74         	1

Comment 1 James Bowes 2010-04-08 14:43:55 UTC
Fixed the REST endpoint that sub-mgr was calling to both release the entitlement (which it was already doing) and also drop the consumed value.

Comment 2 wes hayutin 2010-05-05 13:23:53 UTC
verified against fte server on 5/5

Comment 3 John Sefler 2011-05-04 14:41:30 UTC
Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING

Comment 5 Bryan Kearney 2018-12-10 15:37:08 UTC
I am closing out some old bugs from 2015. So, closing these out as current release. If this is still an issue for me, please reach out.


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