Bug 906000
Summary: | UnicodeDecodeError traceback when registering to an org containing international chars | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Alex Wood <awood> |
Status: | CLOSED WORKSFORME | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | awood |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-15 17:03:56 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: | 863175 |
Description
John Sefler
2013-01-30 15:28:16 UTC
Here's another occurance of the same traceback using activationkey names with international chars... [root@jsefler-7 ~]# subscription-manager register --force --org=admin --activationkey="使 용 Ф ব্ ಬ ഉ ବ୍ டு వా Й Ó" The system with UUID 8ee7eeb9-6bc3-4091-9f29-4a0aa2a4686f has been unregistered Traceback (most recent call last): File "/usr/lib64/python2.7/logging/handlers.py", line 77, in emit if self.shouldRollover(record): File "/usr/lib64/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib64/python2.7/logging/__init__.py", line 723, in format return fmt.format(record) File "/usr/lib64/python2.7/logging/__init__.py", line 467, in format s = self._fmt % record.__dict__ UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 16: ordinal not in range(128) Logged from file managercli.py, line 1045 Activation key '使 용 Ф ব্ ಬ ഉ ବ୍ டு వా Й Ó' not found for organization 'admin'. I can't replicate this with subscription-manager-1.8.2-1.el7.x86_64. Can you please try the latest RHEL 7 nightly and test again? (In reply to comment #3) > I can't replicate this with subscription-manager-1.8.2-1.el7.x86_64. Can > you please try the latest RHEL 7 nightly and test again? Agreed. I also cannot reproduce with a newer subscription-manager... [root@jsefler-7 ~]# rpm -q subscription-manager subscription-manager-1.8.2-1.git.20.c213b88.el7.x86_64 [root@jsefler-7 ~]# subscription-manager register --username=testuser1 --org="富 酒吧" Password: Organization 富 酒吧 does not exist. [root@jsefler-7 ~]# subscription-manager register --force --org=admin --activationkey="使 용 Ф ব্ ಬ ഉ ବ୍ டு వా Й Ó" Activation key '使 용 Ф ব্ ಬ ഉ ବ୍ டு వా Й Ó' not found for organization 'admin'. [root@jsefler-7 ~]# Moving STATUS to CLOSED. |