Project

General

Profile

Bug #13784

rbd: new cli arg parsing doesn't handle negative boolean common options

Added by Josh Durgin over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

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

Description

Generic ceph bool options can be prefixed with no- to turn them off, e.g.:

2015-11-12T17:26:07.180 INFO:tasks.workunit.client.0.vpm070.stderr:+ rbd export test - --log-file test.log --debug-ms 1 --no-log-to-stderr
2015-11-12T17:26:07.237 INFO:tasks.workunit.client.0.vpm070.stderr:rbd: unrecognised option '--no-log-to-stderr'

Associated revisions

Revision 5aa840af (diff)
Added by Jason Dillaman over 8 years ago

rbd: support negative boolean command-line optionals

Fixes: #13784
Signed-off-by: Jason Dillaman <>

History

#1 Updated by Jason Dillaman over 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman

#2 Updated by Jason Dillaman over 8 years ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by Jason Dillaman over 8 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF