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:
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.
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.
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
[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
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 +-------------------------------------------+
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