Hide Forgot
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.
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.
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