Bug 1016312

Summary: Improve the content_upload error messages
Product: Red Hat Satellite Reporter: David Davis <daviddavis>
Component: HammerAssignee: David Davis <daviddavis>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: low    
Version: 6.0.2CC: cwelton, ehelms, jmontleo, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description David Davis 2013-10-07 21:31:28 UTC
1) [root@dhcp-8-30-75 tmp]# katello -u admin -p admin repo content_upload  --org=localsync --filepath=`pwd` --repo=upload-repo --content_type=JOEMAMA --product=custom3
Repo [ upload-repo ] does not accept JOEMAMA uploads.

2) Invalid puppet module '你好-good-2.0.0.tar.gz'. Please make sure the file is valid and is named                         author-name-version.tar.gz (eg: puppetlabs-ntp-2.0.1.tar.gz).

Comment 1 David Davis 2013-10-07 21:32:07 UTC
To be clear:

1) Probably should say invalid content type.

2) Has whitespace in the message.

Comment 3 David Davis 2013-10-09 12:47:49 UTC
https://github.com/Katello/katello-cli/pull/103

Comment 4 David Davis 2013-10-09 13:22:13 UTC
katello-cli a3b0a395a8b33ded0a354e6f4c5705dd24fb2b35

1016312: Improving content upload errors

Comment 7 Corey Welton 2013-10-15 14:58:08 UTC
QA Verified in Satellite-6.0.2-RHEL-6-20131011.0
 -- much improved.

Comment 10 Bryan Kearney 2014-04-24 17:11:33 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 11 Bryan Kearney 2014-04-24 17:12:22 UTC
This was delivered and verified with MDP2. Closing the bug.