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 749570 - need method(s) to list subscriptions for the org (+product?,+env?)
Summary: need method(s) to list subscriptions for the org (+product?,+env?)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-10-27 14:51 UTC by Garik Khachikyan
Modified: 2019-09-25 21:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:03:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Garik Khachikyan 2011-10-27 14:51:51 UTC
Description of problem:
Recently we have a call in activation keys that adds subscriptions to its content (for getting auto-subscribed to the appropriate pools during system registration, i guess). So but there is no option right now to list the subscriptions available for the org (+product and/org environment combinations there)

Version-Release number of selected component (if applicable):
recent katello: katello-0.1.96-1.git.46.fc9bd29.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. try to find a call that returns subscription list.
2.
3.
  
Actual results:
no way to list the subscription available for the current org.

Expected results:
helper calls (on cli as well) for providing subscriptions info

Additional info:
Priority is high if we really want to use the activation keys feature there.

Comment 1 Lukas Zapletal 2011-10-31 11:17:51 UTC
Taking the RHBZ cos I have been working on the task.

Comment 2 Lukas Zapletal 2011-11-01 14:41:08 UTC
80beb3d 749570 - showing pool id along with subscriptions

$ kk org subscriptions --name ACME_Corporation 
-----------------------------------------------------------------------------------------------
                                 Organization's Subscriptions
-----------------------------------------------------------------------------------------------

ProductName:    f15
Consumed:       0
ContractNumber: 
Sla:            
Id:             ff808081335e612e01335e68ff730004
StartDate:      2011/11/01 00:00:00
EndDate:        2041/10/24 00:00:00

Comment 3 Garik Khachikyan 2011-11-14 09:39:38 UTC
# VERIFIED

org subscriptions was enhanced to contain the poolid of the product (needed for the activation_keys for example).

thanks for the fix.

packages:
katello-0.1.101-1.git.30.d57dd1d.el6.x86_64
katello-cli-0.1.11-1.git.0.facb3bb.el6.noarch


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