Bug 803304 - missing sync_plan & product relation methods in CLI
Summary: missing sync_plan & product relation methods in CLI
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-14 12:04 UTC by Garik Khachikyan
Modified: 2015-01-04 21:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 17:38:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Garik Khachikyan 2012-03-14 12:04:38 UTC
Description of problem:
There are methods to set_plan and remove_plan for the product but no way currently to list the sync plans that product assigned to and list the products for particular test_plan.

Version-Release number of selected component (if applicable):
recent CFSE Beta5 & latest Katello

How reproducible:
always

Steps to Reproduce:
1.prepare a sync plan and set to any custom product.
2.try to find a way via CLI to list that info
3.
  
Actual results:
there is no way to find relation between product & sync_plan.

Expected results:
possible to find realtion of product/sync_plan

Additional info:

Comment 2 Mike McCune 2012-08-28 18:53:52 UTC
You can currently view the Sync Plan for any given product:

$ katello -u admin -p admin product list
--------------------------------------------------------------------------------
      Product List For Organization ACME_Corporation, Environment 'dev'

 Id              Name   Provider Id   Provider Name   Sync Plan Name   Last Sync             GPG key  
--------------------------------------------------------------------------------
 1345524714613   zoo    2             custom-one      plan1            2012/08/28 00:00:06            


Will add a list of products to the 'sync_plan info' command:

$ katello -u admin -p admin sync_plan info --name=plan1
--------------------------------------------------------------------------------
                                Sync Plan Info
--------------------------------------------------------------------------------

Id                  :          1
Name                :        plan1
Description         :
    None
Start date          :  2012/08/28 00:00:00
Interval            :    daily
Products Using Plan :    
             zoo
             foobar
             ACME Custom Prod1

Comment 3 Mike McCune 2012-09-10 15:26:01 UTC
moving to 2.0

Comment 4 Mike McCune 2014-03-18 17:38:21 UTC
This bug was closed because of a lack of activity.  If you feel this bug should be reconsidered for attention please feel free to re-open the bug with a comment stating why it should be reconsidered.


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