Project

General

Profile

Actions

Bug #36320

closed

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

Added by Patrick Donnelly over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
% 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:
Crash signature (v1):
Crash signature (v2):

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 2 (0 open2 closed)

Copied to CephFS - Backport #36694: mimic: mds: cache drop command requires timeout argument when it is supposed to be optionalResolvedVenky ShankarActions
Copied to CephFS - Backport #36695: luminous: mds: cache drop command requires timeout argument when it is supposed to be optionalResolvedVenky ShankarActions
Actions #1

Updated by Venky Shankar over 5 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Venky Shankar over 5 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF