Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 947429 - consumed entitlements are not deleted,when the subscription is deleted at server side
consumed entitlements are not deleted,when the subscription is deleted at ser...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager (Show other bugs)
5.10
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: William Poteat
IDM QE LIST
:
Depends On:
Blocks: rhsm-rhel510
  Show dependency treegraph
 
Reported: 2013-04-02 07:57 EDT by Shwetha Kallesh
Modified: 2013-09-30 19:05 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-30 19:05:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Detailed description (14.63 KB, application/octet-stream)
2013-04-02 07:57 EDT, Shwetha Kallesh
no flags Details
Removal of subscription after the subscription is deleted (14.68 KB, text/plain)
2013-06-14 08:13 EDT, Shwetha Kallesh
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1332 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-09-30 18:49:24 EDT

  None (edit)
Description Shwetha Kallesh 2013-04-02 07:57:08 EDT
Created attachment 730727 [details]
Detailed description

Description of problem:
consumed entitlements are not deleted,when the subscription is deleted at server side

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Create a subscription and refresh the pools
2.attach the created subscription
3.delete the created subscription and refresh the pools again
4.restart rhsmcertd service

PS: attachment for details
  
Actual results:
consumed subscriptions are not removed

Expected results:
Consumed subscriptions should be removed

Additional info:
Comment 1 RHEL Product and Program Management 2013-04-29 13:17:13 EDT
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.
Comment 2 William Poteat 2013-06-05 11:22:28 EDT
I repeated this test. It took 5-10 minutes on a restart of rhsmcertd, but the entitlement was revoked.

Please confirm and give it some time to succeed.
Comment 3 Shwetha Kallesh 2013-06-14 08:13:26 EDT
Created attachment 761235 [details]
Removal of subscription after the subscription is deleted

Not working for me,details in the attachment

[root@rhel64 entitlement]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.13-1
subscription-manager: 1.8.10-1.el6
python-rhsm: 1.8.12-1.el6
Comment 4 William Poteat 2013-07-08 15:22:01 EDT
[root@rhel64 entitlement]# service rhsmcertd restart
Stopping rhsmcertd...                                      [  OK  ]
Starting rhsmcertd...                                      [  OK  ]

>>>>>> How long did you wait here? This is where you wait.

[root@rhel64 entitlement]# subscription-manager list --consumed
Comment 5 Shwetha Kallesh 2013-07-24 05:02:36 EDT
Marking verified!!

[root@client64vm ~]# subscription-manager version
server type: RHN Classic and Red Hat Subscription Management
subscription management server: 0.8.17-1
subscription-manager: 1.8.10-1.el5
python-rhsm: 1.8.12-1.el5


[root@client64vm ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Subscription Name: test_products
Provides:          test_products
SKU:               90001
Contract:          610642068
Account:           2115437683
Serial:            1322439292815984532
Pool ID:           8ac6a3a2400fdfa801400fe3df791479
Active:            True
Quantity Used:     1
Service Level:     
Service Type:      
Status Details:    
Starts:            04/01/2013
Ends:              08/17/2013


[root@client64vm ~]# date
Wed Jul 24 14:24:19 IST 2013

[root@client64vm ~]# service rhsmcertd restart
Stopping rhsmcertd...                                      [  OK  ]
Starting rhsmcertd...                                      [  OK  ]

[root@client64vm ~]# date
Wed Jul 24 14:32:00 IST 2013

[root@client64vm ~]# subscription-manager list --consumed
+-------------------------------------------+
   Consumed Subscriptions
+-------------------------------------------+
Comment 7 errata-xmlrpc 2013-09-30 19:05:18 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1332.html

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