Bug 1012614

Summary: package upload implodes when trying to upload a yum file with multibyte characters in the name.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: Content ManagementAssignee: David Davis <daviddavis>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: NightlyCC: ehelms, 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: 2013-10-15 15:21:34 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: 1016310    
Bug Blocks:    
Attachments:
Description Flags
httpd error log trace none

Description Corey Welton 2013-09-26 17:59:38 UTC
Description of problem:
When trying to upload a package with multibyte characters in the name, an ISE is thrown.

Version-Release number of selected component (if applicable):
katello 1.4.6-13.el6sat


How reproducible:


Steps to Reproduce:
1. kk repo content_upload --repo=zooup --product=Zooshop --filepath=./foo/你好.rpm --content_type=yum --org=ACME_Corporation
2. view results

Actual results:
ISE thrown; will attach error log.


Expected results:
It's probably that this error is bubbling up from pulp - and very possibly we and/or yum don't support multibyte characters in the filenames.  That said, we should maybe handle the error and/or prevent it.

Additional info:

I haven't yet tested with puppet modules, any errors may be different.

Comment 1 Corey Welton 2013-09-26 18:01:32 UTC
Created attachment 803527 [details]
httpd error log trace

Comment 3 Mike McCune 2013-10-15 15:19:50 UTC
non critical for MDP2, moving to a later release.

Comment 4 Mike McCune 2013-10-15 15:21:34 UTC

https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Common_Character_Set_for_Package_Naming


" Common Character Set for Package Naming

While Fedora is an international community, for consistency and usability, there needs to be a common character set for package naming.

Specifically, all Fedora packages must be named using only the following ASCII characters. These characters are displayed here:

abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789-._+
"