Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jewel: cli: ceph command line tool chokes on ceph –w (the dash is unicode 'en dash' &ndash, copy-paste to reproduce) #10420

Merged
3 commits merged into from Aug 16, 2016

Conversation

smithfarm
Copy link
Contributor

oprypin and others added 3 commits July 24, 2016 21:01
Signed-off-by: Oleh Prypin <oleh@pryp.in>
(cherry picked from commit ddf0604)
Signed-off-by: Oleh Prypin <oleh@pryp.in>
(cherry picked from commit bef2c83)
we raise UnicodeDecodeError at seeing non-ascii args if we fail to match
it with any command signatures. instead, we should use a unicode string
for representing the error in that case. please note, the exception is
not printed at all in real-world. =)

Fixes: http://tracker.ceph.com/issues/12287
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 5864626)
@smithfarm smithfarm self-assigned this Jul 24, 2016
@smithfarm smithfarm added this to the jewel milestone Jul 24, 2016
@smithfarm
Copy link
Contributor Author

Backport of 5864626 along with two commits to make it apply cleanly.

ghost pushed a commit that referenced this pull request Aug 8, 2016
…ph –w (the dash is unicode 'en dash' &ndash, copy-paste to reproduce)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 9, 2016
…ph –w (the dash is unicode 'en dash' &ndash, copy-paste to reproduce)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 12, 2016
…ph –w (the dash is unicode 'en dash' &ndash, copy-paste to reproduce)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented Aug 15, 2016

@tchaikov does this backport look good to merge ? It passed the rados suite http://tracker.ceph.com/issues/16344#note-17 (except for one known bug that is, I believe, unrelated).

@ghost ghost assigned tchaikov Aug 15, 2016
@tchaikov
Copy link
Contributor

@smithfarm thanks for cherry-picking the commits depended by my change also.

@dachary lgtm.

@ghost ghost merged commit aa03e1d into ceph:jewel Aug 16, 2016
@smithfarm smithfarm deleted the wip-16798-jewel branch August 16, 2016 14:32
@ghost ghost changed the title jewel: ceph command line tool chokes on ceph –w (the dash is unicode 'en dash' &ndash, copy-paste to reproduce) jewel: cli: ceph command line tool chokes on ceph –w (the dash is unicode 'en dash' &ndash, copy-paste to reproduce) Aug 25, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants