Project

General

Profile

Actions

Bug #2481

closed

ceph tell has almost no error reporting

Added by Dan Mick almost 12 years ago. Updated over 11 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

fumbling around as a noob, I tried all of:

ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs 'debug osd = 0'
ok
ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs 'debug = 0'
ok
ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs 'debug osd = 0'
ok
ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs 'debug osd = 0'
ok
ubuntu@burnupi50:/etc/ceph$ ceph osd tell osd.1 injectargs --debug_osd 0
osd.0 not up
ubuntu@burnupi50:/etc/ceph$ ceph osd tell osd.1 injectargs --debug_osd 0
osd.0 not up
ubuntu@burnupi50:/etc/ceph$ ceph osd tell osd.1 injectargs --debug_osd 0
osd.0 not up
ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs --debug_osd 0
ok
ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs --debug-osd 0
ok
ubuntu@burnupi50:/etc/ceph$ ceph osd tell osd.1 injectargs --debug-osd 0
osd.0 not up
ubuntu@burnupi50:/etc/ceph$ ceph osd injectargs 1 --debug-osd 0
unknown command injectargs
ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs --debug-osd 0
ok
ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs --debug_osd 0
ok
ubuntu@burnupi50:/etc/ceph$ ceph osd tell 1 injectargs '--debug_osd 0'
ok

Only the last one has any useful effect. It seems like some sort of error reporting better than
'ok' would be possible.

Actions

Also available in: Atom PDF