Project

General

Profile

Actions

Bug #9976

closed

ceph cli injectargs parsing broken

Added by Sage Weil over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

looks like it was the recent -- handling that broke?

gnit:src (master) 09:11 AM $ ./ceph tell osd.0 injectargs --debug-ms 1
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
debug_ms=1/1 
gnit:src (master) 09:11 AM $ ./ceph tell osd.0 injectargs -- --debug-ms 1
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
debug_ms=1/1  failed to parse arguments: --
                                         ^^^

gnit:src (master) 09:11 AM $ ./ceph tell osd.0 injectargs -- --no-debug-osd-op-order
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
 failed to parse arguments: --,--no-debug-osd-op-order
                            ^^

gnit:src (master) 09:11 AM $ ./ceph tell osd.0 injectargs --no-debug-osd-op-order
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
 failed to parse arguments: --no-debug-osd-op-order
(this should fail)
ubuntu@teuthology:/a/sage-2014-10-29_13:51:08-rados-master-distro-basic-multi/578643

Actions

Also available in: Atom PDF