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

ceph.in: print return code when json_command failed #15378

Merged
merged 1 commit into from Jun 6, 2017

Conversation

Projects
None yet
3 participants
@Liuchang0812
Contributor

Liuchang0812 commented May 31, 2017

@tchaikov I updated code to print more informations when json_command failed, so that we will get more information to debug why ceph tell mgr help test randomly fail.

current output as following( i mocked return code):

/home/liuchang/WorkSpace/ceph/qa/workunits/cephtool/test.sh:2066: test_osd_tell_help_command:  ceph tell osd.1 help
2017-05-31 15:39:37.507688 7fe079b09700 -1 WARNING: all dangerous and experimental features are enabled.
2017-05-31 15:39:37.515530 7fe079b09700 -1 WARNING: all dangerous and experimental features are enabled.
couldn't get command descriptions for [u'osd', u'1'], ret code: 1 EPERM

Signed-off-by: liuchang0812 liuchang0812@gmail.com

Show outdated Hide outdated src/ceph.in Outdated
tool/ceph: print return code when json_command failed
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>

@tchaikov tchaikov changed the title from tool/ceph: print return code when json_command failed to ceph.in: print return code when json_command failed Jun 6, 2017

@tchaikov tchaikov added the needs-qa label Jun 6, 2017

@liewegas liewegas merged commit e3276bc into ceph:master Jun 6, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@Liuchang0812 Liuchang0812 deleted the Liuchang0812:print_ret_code_of_json_command branch Jun 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment