Bug 1025884

Summary: headpin CLI cmd "version" fails
Product: [Retired] Subscription Asset Manager Reporter: Apurva Bhole <abhole>
Component: katelloAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: SAM QE List <sam-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: NightlyCC: omaciel, sthirugn
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-27 21:20:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 971511    

Description Apurva Bhole 2013-11-01 19:52:17 UTC
Description of problem:
headpin cmd of 'version' fails with an error

Version-Release number of selected component (if applicable):
rpm -qa | grep katello
katello-common-1.5.1-1.git.102.ef6f892.el6.noarch
katello-headpin-all-1.5.1-1.git.102.ef6f892.el6.noarch
katello-cli-1.5.3-1.git.8.34dd406.el6.noarch
katello-selinux-1.5.1-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-common-1.5.3-1.git.8.34dd406.el6.noarch
katello-configure-1.5.1-1.git.9.5a5e0f5.el6.noarch
signo-katello-0.0.23-1.el6.noarch
katello-glue-elasticsearch-1.5.1-1.git.102.ef6f892.el6.noarch
katello-headpin-1.5.1-1.git.102.ef6f892.el6.noarch
katello-repos-1.5.1-1.el6.noarch
katello-certs-tools-1.5.1-1.el6.noarch
katello-glue-candlepin-1.5.1-1.git.102.ef6f892.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. katello -u admin -p admin version

Actual results:
error: coercing to Unicode: need string or buffer, NoneType found (more in the log file /var/log/katello/client.log)

Expected results:
version should be displayed

Comment 2 sthirugn@redhat.com 2014-06-27 21:20:17 UTC
Works fine in SAM 1.4

# headpin -u admin -p admin version
headpin 1.4.3.26-1.el6sam_splice