Project

General

Profile

Bug #36370

add information about active scrubs to "ceph -s" (and elsewhere)

Added by Venky Shankar 12 months ago. Updated 29 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
Start date:
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

currently, there is no way to track scrubs operations on a filesystem expect to check the mds log and figure out which ones have completed/pending (since multiple scrub operations can be triggered on subpaths).

It would be helpful if the active scrub operations are shown in ceph status output. Sample output can be:

MDS.<daemonID> scrubbing in progress: scrub_path <path_that_is_scrubbed> recursive repair
MDS.<daemonID> scrubbing in progress: scrub_path <different_path_that_is_scrubbed> recursive repair

This would especially simplify situations when multiple scrub_path commands were started or with large cephfs.


Related issues

Related to fs - Feature #12282: mds: progress/abort/pause interface for ongoing scrubs Resolved
Related to fs - Feature #38052: mds: provide interface to control/view internal operations In Progress
Copied to fs - Backport #41508: nautilus: add information about active scrubs to "ceph -s" (and elsewhere) New

History

#1 Updated by Venky Shankar 12 months ago

  • Component(FS) MDS added

#2 Updated by Patrick Donnelly 12 months ago

  • Related to Feature #12282: mds: progress/abort/pause interface for ongoing scrubs added

#3 Updated by Patrick Donnelly 7 months ago

  • Target version changed from v14.0.0 to v15.0.0

#4 Updated by Patrick Donnelly 6 months ago

  • Related to Feature #38052: mds: provide interface to control/view internal operations added

#5 Updated by Patrick Donnelly 4 months ago

  • Start date deleted (10/10/2018)
  • Backport set to nautilus

Venky, status on this ticket?

#6 Updated by Venky Shankar 4 months ago

Patrick Donnelly wrote:

Venky, status on this ticket?

For this ticket: scrub status commands have been added via tell interface (tracker #12282).

Regarding the backport, IIRC, we decided not to backport this to nautilus.

#7 Updated by Patrick Donnelly 4 months ago

Venky Shankar wrote:

Patrick Donnelly wrote:

Venky, status on this ticket?

For this ticket: scrub status commands have been added via tell interface (tracker #12282).

Regarding the backport, IIRC, we decided not to backport this to nautilus.

This ticket is a little different from what we did for ceph tell scrub_*. This one sends a health message to the monitors about what paths are being scrubbed.

#8 Updated by Venky Shankar 4 months ago

Patrick Donnelly wrote:

Venky Shankar wrote:

Patrick Donnelly wrote:

Venky, status on this ticket?

For this ticket: scrub status commands have been added via tell interface (tracker #12282).

Regarding the backport, IIRC, we decided not to backport this to nautilus.

This ticket is a little different from what we did for ceph tell scrub_*. This one sends a health message to the monitors about what paths are being scrubbed.

OK -- I kind of assumed (in the email discussions we had) that the `scrub status` command would be the recommended interface. I'll pick this ticket soon...

#9 Updated by Venky Shankar 3 months ago

  • Pull request ID set to 28855

#10 Updated by Patrick Donnelly 29 days ago

  • Status changed from In Progress to Pending Backport

#11 Updated by Nathan Cutler 27 days ago

  • Copied to Backport #41508: nautilus: add information about active scrubs to "ceph -s" (and elsewhere) added

Also available in: Atom PDF