Project

General

Profile

Bug #36320

mds: cache drop command requires timeout argument when it is supposed to be optional

Added by Patrick Donnelly 3 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
10/04/2018
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
task(easy)
Pull request ID:

Description

pdonnell@senta02 ~/ceph/build$ bin/ceph tell mds.* cache drop
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2018-10-04 17:19:56.732 7fccd8bbb700 -1 WARNING: all dangerous and experimental features are enabled.
2018-10-04 17:19:56.820 7fccd8bbb700 -1 WARNING: all dangerous and experimental features are enabled.
2018-10-04 17:19:56.896 7fcc9d7fa700  0 client.4213 ms_handle_reset on 127.0.0.1:6826/4155109441
Invalid command: missing required parameter timeout(<int[1-]>)
cache drop <int[1-]> :  trim cache and optionally request client to release all caps and flush the journal
Error EINVAL: invalid command
pdonnell@senta02 ~/ceph/build$ bin/ceph tell mds.* cache drop 30
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2018-10-04 17:20:18.800 7fa92c9fa700 -1 WARNING: all dangerous and experimental features are enabled.
2018-10-04 17:20:18.884 7fa92c9fa700 -1 WARNING: all dangerous and experimental features are enabled.
2018-10-04 17:20:18.968 7fa8f4ff9700  0 client.4216 ms_handle_reset on 127.0.0.1:6826/4155109441
2018-10-04 17:20:19.104 7fa8f5ffb700  0 client.4219 ms_handle_reset on 127.0.0.1:6826/4155109441
{   
    "client_recall": {
        "return_code": 0,
        "message": "(0) Success" 
    },
    "flush_journal": {
        "return_code": 0,
        "message": "" 
    },
    "cache": {
        "pool": {
            "items": 179,
            "bytes": 44592
        }
    }
}

Related issues

Copied to fs - Backport #36694: mimic: mds: cache drop command requires timeout argument when it is supposed to be optional Resolved
Copied to fs - Backport #36695: luminous: mds: cache drop command requires timeout argument when it is supposed to be optional In Progress

History

#1 Updated by Venky Shankar 2 months ago

  • Status changed from New to In Progress

#2 Updated by Venky Shankar 2 months ago

  • Status changed from In Progress to Need Review

#3 Updated by Patrick Donnelly about 2 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler about 2 months ago

  • Copied to Backport #36694: mimic: mds: cache drop command requires timeout argument when it is supposed to be optional added

#5 Updated by Nathan Cutler about 2 months ago

  • Copied to Backport #36695: luminous: mds: cache drop command requires timeout argument when it is supposed to be optional added

Also available in: Atom PDF