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 vote
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:


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.