Project

General

Profile

Bug #15913

ceph: cli: exception when pool name has non-ascii characters

Added by Ricardo Dias almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph cli
Target version:
-
Start date:
05/17/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to Ceph - Backport #16017: jewel: ceph: cli: exception when pool name has non-ascii characters Resolved

History

#1 Updated by Ricardo Dias almost 3 years ago

  • Status changed from New to Need Review

#2 Updated by Nathan Cutler almost 3 years ago

  • Status changed from Need Review to Pending Backport
  • Target version deleted (v10.2.2)

#3 Updated by Nathan Cutler almost 3 years ago

  • Copied to Backport #16017: jewel: ceph: cli: exception when pool name has non-ascii characters added

#4 Updated by Nathan Cutler almost 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF