Actions
Bug #58576
closeddo not allow invalid flags with cmd 'scrub start'
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Correctness/Safety
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
scrub, task(easy)
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Currently, cmd 'scrub start' would accept any flag and looking at logs, it does actually start the scrubbing on the path mentioned.
$ ./bin/ceph tell mds.0 scrub start ~mdsdir foo
{
"return_code": 0,
"scrub_tag": "foo",
"mode": "asynchronous"
}
This needs to fixed, need to throw an error saying "flag is invalid".
Actions