Bug 768421 - headpin CLI product list and provider list fail with Invalid verb 'sync'
Summary: headpin CLI product list and provider list fail with Invalid verb 'sync'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent vote
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 703617 katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-16 16:00 UTC by Eric Sammons
Modified: 2019-09-26 13:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
headpin
Last Closed: 2012-04-27 00:32:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Eric Sammons 2011-12-16 16:00:58 UTC
Description of problem:
When attempting to report from the headpin cli product lists and provider lists Invalid verb 'sync' is returned.

Version-Release number of selected component (if applicable):
katello-cli-headpin-0.1.12-2.el6.noarch

Steps to Reproduce:
1. headpin -u [adminuser] -p [password] shell
2. headpin> product list --org [org]
3. headpin> provider list --org [org]
  
Actual results:
headpin> product list --org RedHat_QE --provider="Red Hat"
Invalid verb 'sync'. Verbs for resource type 'organizations' can be one of delete, read, delete_systems, update_systems, create, update, read_systems, register_systems
headpin> provider list --org RedHat_QE
Invalid verb 'sync'. Verbs for resource type 'organizations' can be one of delete, read, delete_systems, update_systems, create, update, read_systems, register_systems

Expected results:
Appropriate list returned.

Comment 1 Tom McKay 2011-12-19 15:31:37 UTC
commit c22ca64b30ae277a04316209d0fa57b82013bdae
Author: Tom McKay <thomasmckay>
Date:   Mon Dec 19 10:29:11 2011 -0500

    Bug 768421 - headpin CLI product list and provider list fail with Invalid verb 'sync'
    https://bugzilla.redhat.com/show_bug.cgi?id=768421
    + Fenced katello-only code for provider sync, create, etc.

Comment 4 Eric Sammons 2012-01-23 15:21:46 UTC
headpin> product list --org Org-AhFPd6pUscy6iia8
------------------------------------------------------------------------------------------------------------------------------------------
                                 Product List For Organization Org-AhFPd6pUscy6iia8, Environment 'Locker'

 Id          Name                                                                     Provider Id   Provider Name  
------------------------------------------------------------------------------------------------------------------------------------------
 83          Red Hat Enterprise Linux High Availability for RHEL Server               2             Red Hat        
 RH1149049   High-Availability 8 sockets                                              2             Red Hat        
 90          Red Hat Enterprise Linux Resilient Storage for RHEL Server               2             Red Hat        
 RH0197329   Red Hat Enterprise Linux Server Premium 1-2 sockets Unlimited guests     2             Red Hat        
 RH0197181   Red Hat Enterprise Linux Server Self-support 1-2 sockets Up to 1 guest   2             Red Hat        
 69          Red Hat Enterprise Linux Server                                          2             Red Hat        
 RH1316844   Resilient Storage 8 sockets                                              2             Red Hat        


VERIFIED:

# rpm -qa|grep 'katello\|thumbslug\|candlepin'
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-common-0.1.34-2.el6.noarch
candlepin-0.5.10-1.el6.noarch
thumbslug-0.0.21-1.el6.noarch
katello-cli-headpin-0.1.13-2.el6.noarch
candlepin-tomcat6-0.5.10-1.el6.noarch
katello-common-0.1.180-2.el6.noarch
katello-headpin-0.1.126-2.el6.noarch
katello-configure-0.1.52-2.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-certs-tools-1.0.1-2.el6.noarch
katello-glue-candlepin-0.1.180-2.el6.noarch
katello-headpin-all-0.1.126-2.el6.noarch


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