Project

General

Profile

Actions

Bug #23958

closed

mds: scrub doesn't always return JSON results

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

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
fsck/damage handling
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):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On a vstart cluster:

pdonnell@senta02 ~/ceph/build$ bin/ceph daemon mds.b scrub_path / force recursive
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
pdonnell@senta02 ~/ceph/build$ bin/ceph daemon mds.b scrub_path / force recursive
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
pdonnell@senta02 ~/ceph/build$ bin/ceph daemon mds.b scrub_path / 
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
{
    "performed_validation": true,
    "passed_validation": true,
    "backtrace": {
        "checked": true,
        "passed": true,
        "read_ret_val": 0,
        "ondisk_value": "(2)0x1:[]//",
        "memoryvalue": "(2)0x1:[]//",
        "error_str": "" 
    },
    "raw_stats": {
        "checked": true,
        "passed": true,
        "read_ret_val": 0,
        "ondisk_value.dirstat": "f()",
        "ondisk_value.rstat": "n(v0 1=0+1)",
        "memory_value.dirrstat": "f()",
        "memory_value.rstat": "n(v0 1=0+1)",
        "error_str": "" 
    },
    "return_code": 0
}

Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #25037: mimic: mds: scrub doesn't always return JSON resultsResolvedPrashant DActions
Copied to CephFS - Backport #25038: luminous: mds: scrub doesn't always return JSON resultsResolvedPrashant DActions
Actions #1

Updated by Zheng Yan almost 6 years ago

recursive scrub is async, it does not return anything

Actions #2

Updated by Patrick Donnelly almost 6 years ago

Zheng Yan wrote:

recursive scrub is async, it does not return anything

Good point, thanks. Even so, we shoudl return something so that json parsers don't blow up without input.

Actions #3

Updated by Patrick Donnelly almost 6 years ago

  • Assignee set to Patrick Donnelly
Actions #4

Updated by Patrick Donnelly almost 6 years ago

  • Target version changed from v13.0.0 to v14.0.0
  • Backport changed from luminous to mimic,luminous
Actions #5

Updated by Patrick Donnelly almost 6 years ago

  • Assignee changed from Patrick Donnelly to Venky Shankar
Actions #6

Updated by Venky Shankar almost 6 years ago

  • Status changed from New to Fix Under Review
Actions #7

Updated by Patrick Donnelly almost 6 years ago

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

Updated by Patrick Donnelly almost 6 years ago

  • Copied to Backport #25037: mimic: mds: scrub doesn't always return JSON results added
Actions #9

Updated by Patrick Donnelly almost 6 years ago

  • Copied to Backport #25038: luminous: mds: scrub doesn't always return JSON results added
Actions #10

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF