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


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.