Bug 760189 - headpin CLI fails with <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Summary: headpin CLI fails with <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Tom McKay
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks: 703617
TreeView+ depends on / blocked
 
Reported: 2011-12-05 15:51 UTC by Eric Sammons
Modified: 2012-04-27 00:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-27 00:22:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 758444 0 high CLOSED client.conf incorrectly specifies /katello 2021-02-22 00:41:40 UTC

Internal Links: 758444

Description Eric Sammons 2011-12-05 15:51:00 UTC
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:

Comment 1 Eric Sammons 2011-12-05 15:56:35 UTC
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.

Comment 2 Tom McKay 2011-12-05 16:06:10 UTC
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

Comment 3 Eric Sammons 2011-12-05 18:59:43 UTC
katello-cli-headpin-0.1.12-1.el6.noarch still exhibits the issue.

Comment 4 Eric Sammons 2011-12-20 17:35:30 UTC
Verified


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