Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 782239

Summary: Cannot create repo with i18n org name
Product: Red Hat Satellite Reporter: Partha Aji <paji>
Component: Localization and InternationalizationAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: cwelton, 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: 782232 Environment:
Last Closed: 2012-08-22 18:20:17 UTC Type: ---
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: 783251    
Bug Blocks: 747354    

Description Partha Aji 2012-01-16 22:13:34 UTC
1) Create an org and give it the name -> ಸಂಸ್ಥೆಗಳು
2) Create a provider -> ಒದಗಿಸು
3) Create a product -> ಉತ್ಪನ್ನ

Considering bz #78322 is fixed

4) Create a repo name-> ರೆಪೊಸಿಟರಿ , url -> http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-15/x86_64/

5)  click save or ರಚಿಸಿ

Expected
Repo created

Actual
Resource POST request: /candlepin/products/1326751301040/content/1326751395943?enabled=true, 
Processing response: 200
Resource GET request: /candlepin/products/1326751301040
Processing response: 200
Resource PUT request: /pulp/api/repositories/, {"groupid":["product:1326751301040","env:22","org:16","content:1326751395943"],"feed_cert_data":{"key":null,"ca":null,"cert":null},"preserve_metadata":false,"content_types":"yum","arch":"noarch","name":"ರೆಪೊಸಿಟರಿ","relative_path":"ಸಂಸ್ಥೆಗಳು/Locker/custom/ಉತ್ಪನ್ನ/ರೆಪೊಸಿಟರಿ","id":"ಸಂಸ್ಥೆಗಳು-ಉತ್ಪನ್ನ-ರೆಪೊಸಿಟರಿ","feed":"http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-15/x86_64/"}
Pulp::Repository: 500 Internal Server Error "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py\", line 48, in report_error\n    return method(self, *args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py\", line 127, in _auth_decorator\n    value = method(self, *args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/repositories.py\", line 253, in POST\n    content_types=repo_data.get('content_types', 'yum'))\n  File \"/usr/lib/python2.7/site-packages/pulp/server/api/repo.py\", line 224, in create\n    self.check_id(id)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/api/base.py\", line 67, in check_id\n    raise PulpException(\"Given ID is invalid. ID may contain numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.)\")\nPulpException: Given ID is invalid. ID may contain numbers(0-9), upper and lower case letters(A-Z, a-z), hyphens(-), underscore(_) and periods(.)\n" (PUT /pulp/api/repositories/)Rendered text template (0.0ms)
Setting current user thread-local variable to nil
Completed 400 Bad Request in 4587ms (Views: 1.5ms | ActiveRecord: 73.1ms)

Comment 1 Partha Aji 2012-01-16 22:14:10 UTC
I mean bz - 782232

Comment 3 Partha Aji 2012-01-18 23:16:28 UTC
BTW forgot to state step 0
0) Set the user's default locale to Kannada (kn)

Comment 4 Partha Aji 2012-01-30 22:21:02 UTC
Should be fixed as of http://git.fedorahosted.org/git/?p=katello.git;a=commit;h=930851c800d7b9d63ac960f655e38f1ff912c419 . 

Note you would need pulp-0.0.263-1.*rpm

Comment 5 Corey Welton 2012-02-02 17:33:09 UTC
QA Verified, working against pulp 0.263