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 782954 - Unable to register systems with i18nized names
Summary: Unable to register systems with i18nized names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Localization and Internationalization
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Tomas Strachota
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On: 790138
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-18 22:52 UTC by Partha Aji
Modified: 2019-09-26 15:56 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Systems with localized names resulted in errors when registering in System Engine through Red Hat Subscription Manager (RHSM). An error in the candlepin component prevented special characters from being used as the system name. This fix updates the candlepin option to allow any characters in system name.
Clone Of:
Environment:
Last Closed: 2012-12-04 19:41:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Development trace of the registration process (45.09 KB, text/x-log)
2012-01-18 22:52 UTC, Partha Aji
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 0 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-05 00:39:57 UTC

Description Partha Aji 2012-01-18 22:52:50 UTC
Created attachment 556128 [details]
Development trace of the registration process

0. Switch Admin user locale to Kannada
1. Create org -> ಸಂಸ್ಥೆಗಳು
2. Create Environment -> ಪರಿಸರ
3. Register a guest to this instance via subs manager using
"""
subscription-manager register --force --user admin --password admin --org=ಸಂಸ್ಥೆಗಳು  --environment=ಪರಿಸರ
"""

Actual results:
Ugly stack trace in katello, gist being
Failed to create candlepin consumer dhcp77-145.rhndev.redhat.com: Candlepin::Consumer: 401 Unauthorized {"displayMessage":"Invalid oauth consumer or secret"} (POST /candlepin/consumers/?owner=%E0%B2%B8%E0%B2%82%E0%B2%B8%E0%B3%8D%E0%B2%A5%E0%B3%86%E0%B2%97%E0%B2%B3%E0%B3%81): {"displayMessage":"Invalid oauth consumer or secret"}, /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'


Expected results:
Successful install.. Logs attached.

Additional info:

Comment 1 Tomas Strachota 2012-03-01 12:41:18 UTC
I managed to register without any problem to an org and name with such name when I created them via UI. Running both client and server on rhel 6.2.

Partha, what version of sunscription-manager did you use?

There are other known bugs regarding i18n but this one seems to be fixed.

Comment 2 Tom McKay 2012-03-01 18:09:40 UTC
Setting blocked on 790138 for testing purposes. It is really a duplicate but this one uses sub-mgr to register and the other uses web ui.

Comment 3 Mike McCune 2012-03-28 16:28:51 UTC
not marked as a blocker for v1, moving to 1.0.1

Comment 4 Mike McCune 2012-08-03 16:37:39 UTC
ON_DEV to match 790138

Comment 6 Og Maciel 2012-09-26 00:59:43 UTC
# subscription-manager --force register --username guest --password guest --org goias --env amanha

The system has been registered with id: 6bd1a462-37c6-4ed7-ae10-3eed8f8793b1 

The org name is Goiás with label=goias and Environment is Amanhã with label=amanha. Is this the designed way to subscribe? Using labels?

Comment 7 Og Maciel 2012-10-03 01:45:43 UTC
# subscription-manager register --user admin --password admin --org Goiás --env Amanhã

# yum repolist
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.

Please use yum-config-manager to configure which software
repositories are used with Red Hat Subscription Management.

2b0c8ed8-bc92-47fa-8ab1-b1f06177c478_Zoo_3e4ec6eb-ec1c-4af6-b108-bafaa61e1ee0                 | 3.0 kB     00:00     
2b0c8ed8-bc92-47fa-8ab1-b1f06177c478_Zoo_3e4ec6eb-ec1c-4af6-b108-bafaa61e1ee0/primary_db      |  31 kB     00:00     
2b0c8ed8-bc92-47fa-8ab1-b1f06177c478_Zoo_Animals                                              | 3.0 kB     00:00     
2b0c8ed8-bc92-47fa-8ab1-b1f06177c478_Zoo_Animals/primary_db                                   |  31 kB     00:00     
repo id                                                                                   repo name            status
2b0c8ed8-bc92-47fa-8ab1-b1f06177c478_Zoo_3e4ec6eb-ec1c-4af6-b108-bafaa61e1ee0             Perer..              136
2b0c8ed8-bc92-47fa-8ab1-b1f06177c478_Zoo_Animals                                          Animals              136
repolist: 272
[root@qeclient12 ~]# cat /etc/yum.repos.d/redhat.repo 
#
# Certificate-Based Repositories
# Managed by (rhsm) subscription-manager
#
# If this file is empty and this system is subscribed consider 
# a "yum repolist" to refresh available repos
#

[2b0c8ed8-bc92-47fa-8ab1-b1f06177c478_Zoo_Animals]
name = Animals
baseurl = https://qetello02.usersys.redhat.com/pulp/repos/2b0c8ed8-bc92-47fa-8ab1-b1f06177c478/bf2e2afa-cd63-41b2-b308-0563d4ff6bfa//custom/Zoo/Animals
enabled = 1
gpgcheck = 0
sslverify = 1
sslcacert = /etc/rhsm/ca/candlepin-local.pem
sslclientkey = /etc/pki/entitlement/2483872460362601225-key.pem
sslclientcert = /etc/pki/entitlement/2483872460362601225.pem

[2b0c8ed8-bc92-47fa-8ab1-b1f06177c478_Zoo_3e4ec6eb-ec1c-4af6-b108-bafaa61e1ee0]
name = Perer..
baseurl = https://qetello02.usersys.redhat.com/pulp/repos/2b0c8ed8-bc92-47fa-8ab1-b1f06177c478/bf2e2afa-cd63-41b2-b308-0563d4ff6bfa//custom/Zoo/3e4ec6eb-ec1c-4af6-b108-bafaa61e1ee0
enabled = 1
gpgcheck = 0
sslverify = 1
sslcacert = /etc/rhsm/ca/candlepin-local.pem
sslclientkey = /etc/pki/entitlement/2483872460362601225-key.pem
sslclientcert = /etc/pki/entitlement/2483872460362601225.pem

Comment 8 Og Maciel 2012-10-03 01:45:59 UTC
Verified using:

* candlepin-0.7.8-1.el6cf.noarch
* candlepin-selinux-0.7.8-1.el6cf.noarch
* candlepin-tomcat6-0.7.8-1.el6cf.noarch
* katello-1.1.12-12.el6cf.noarch
* katello-all-1.1.12-12.el6cf.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.1.8-1.el6cf.noarch
* katello-cli-1.1.8-6.el6cf.noarch
* katello-cli-common-1.1.8-6.el6cf.noarch
* katello-common-1.1.12-12.el6cf.noarch
* katello-configure-1.1.9-6.el6cf.noarch
* katello-glue-candlepin-1.1.12-12.el6cf.noarch
* katello-glue-pulp-1.1.12-12.el6cf.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-qpid-client-key-pair-1.0-1.noarch
* katello-selinux-1.1.1-1.el6cf.noarch
* pulp-1.1.12-1.el6cf.noarch
* pulp-common-1.1.12-1.el6cf.noarch
* pulp-selinux-server-1.1.12-1.el6cf.noarch

Comment 10 errata-xmlrpc 2012-12-04 19:41:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1543.html


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