Bug #15913
ceph: cli: exception when pool name has non-ascii characters
% Done:
0%
Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When trying to delete a pool with a name that contains non-ascii characters using the ceph CLI, an exception is thrown:
$ ceph osd pool delete Ćićevac Traceback (most recent call last): File "/usr/bin/ceph", line 939, in <module> retval = main() File "/usr/bin/ceph", line 886, in main print >> sys.stderr, prefix + 'Error {0}: {1}'.format(errno.errorcode.get(ret, 'Unknown'), outs) UnicodeEncodeError: 'ascii' codec can't encode character u'\u0106' in position 65: ordinal not in range(128)
Related issues
History
#1 Updated by Ricardo Dias almost 8 years ago
- Status changed from New to Fix Under Review
#2 Updated by Nathan Cutler almost 8 years ago
- Status changed from Fix Under Review to Pending Backport
- Target version deleted (
v10.2.2)
#3 Updated by Nathan Cutler almost 8 years ago
- Copied to Backport #16017: jewel: ceph: cli: exception when pool name has non-ascii characters added
#4 Updated by Nathan Cutler almost 8 years ago
- Status changed from Pending Backport to Resolved