Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1144619 - Removing host does not update subscriptions consumed counter
Summary: Removing host does not update subscriptions consumed counter
Keywords:
Status: CLOSED DUPLICATE of bug 1140653
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1139277
TreeView+ depends on / blocked
 
Reported: 2014-09-19 22:34 UTC by Johan Swensson
Modified: 2017-02-23 20:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-26 15:31:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Johan Swensson 2014-09-19 22:34:00 UTC
Description of problem:
When removing a host that subscription should be available to use by another host, however it does not seem to remove the consumed subscription after deleting the host.

How reproducible:
100%

Steps to Reproduce:
1. Kickstart host from Sat6 with activation key to a RH subscription
2. After the host is deployed, delete it
3. 

Actual results:
The subscription consumed counter does not get decreased under Content->Red Hat Subscriptions

Expected results:
The consumed counter should get decreased, releasing the used subscription and making it available for use on another host.

Additional info:
PXE, libvirt compute resource

Comment 1 RHEL Program Management 2014-09-19 22:43:12 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Johan Swensson 2014-09-22 11:10:55 UTC
Additional info:
The content host is indeed removed but it's subscription is still consumed after deletion.

Comment 4 Johan Swensson 2014-09-22 13:10:05 UTC
Running subscription-manager remove --all on the host as a work around before deletion is possible.

Comment 5 Johan Swensson 2014-09-22 20:01:56 UTC
Removing the content host before deleting the host also works around the problem. If the host is deleted without removing the content host the subscription remains consumed, but the content host is removed.

Comment 6 Johan Swensson 2014-11-26 15:31:50 UTC

*** This bug has been marked as a duplicate of bug 1140653 ***


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