Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1115602

Summary: [RFE] Subcription Events need to be consumed by katello
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: Subscription ManagementAssignee: Dustin Tsang <dtsang>
Status: CLOSED DUPLICATE QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.4CC: bbuckingham, dtsang, mmccune, sthirugn
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6543
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-10 18:03:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bryan Kearney 2014-07-02 18:00:17 UTC
Candlepin can create and delete sub-pools based on subscription events. Candlepin is now publishing these events to an AMQP Topic.

This RFE should cover the following:

1) Enhance Katello, perhaps using dynflow, to recieve these events and update the subscription list in katello.
2) Improve the subscription list to not re-poll the subscriptions in candlepin

Comment 2 Dustin Tsang 2014-07-09 14:18:37 UTC
Created redmine issue http://projects.theforeman.org/issues/6543 from this bug

Comment 3 Bryan Kearney 2014-09-24 14:02:45 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6543 has been closed
-------------
dustin tsang
Applied in changeset commit:katello-installer|f7ecd4ed301678553ea09caa1642107b49750574.

Comment 5 Dustin Tsang 2014-10-24 20:01:34 UTC
Test Steps:
1. create a new org
2. create/upload a new manifest with a rhel subscription
3. register a content host

subscription-manager register --org="mouse" --environment="Library"

4. go to the Content -> Red Hat Subscriptions ensure that the quantity consumed is 0 for the rhel subscription
5. on the content-host attach to the rhel subscription
subscription-manager attach --pool xxx

6.refresh the page on the browser
=> verify that quantity consumed has been incremented.
7. under Hosts -> Content Hosts, click on the content-host
8. under the subscriptions tab
=> verify the quantity consumed

Comment 8 sthirugn@redhat.com 2015-03-17 17:53:59 UTC
Failed as per https://bugzilla.redhat.com/show_bug.cgi?id=1202896

Comment 9 Dustin Tsang 2015-04-10 18:03:17 UTC
see https://bugzilla.redhat.com/show_bug.cgi?id=1202896#c10. Based on analysis done by Devan, closing as duplicate.

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