Actions
Bug #15913
closedceph: 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)
Actions