Description of problem: Running headpin CLI fails with <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">. Version-Release number of selected component (if applicable): katello-cli-headpin-0.1.12-1.el6.noarch Steps to Reproduce: 1. Run any headpin command: # headpin -u admin -p admin provider list --org=Eric_s_Org # headpin -u admin -p admin system list --org=Eric_s_Org # headpin -u admin -p admin org list 2. Note no report is returned. Actual results: [consumer side] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> [/consumer side] [headpin side] [ERROR][MainThread] error() @ base.py:342 - error: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> [/headpin side] Expected results: List / Report should be returned. Additional info:
This bug appears to be the result of a bad path entry in /etc/headpin/client.conf. # diff /tmp/client.conf /etc/headpin/client.conf 5c5 < path = /katello --- > path = /headpin When path is fixed the expected results are returned.
commit 2703a1b8b1dcc977a2fd3da97a5652458b2b5a1b Author: Tom McKay <thomasmckay> Date: Mon Dec 5 10:58:08 2011 -0500 + Bug 760189 - headpin CLI fails with <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> https://bugzilla.redhat.com/show_bug.cgi?id=760189 Changed client.conf now references /headpin instead of /katello
katello-cli-headpin-0.1.12-1.el6.noarch still exhibits the issue.
Verified