Project

General

Profile

Bug #45349

mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..)

Added by Venky Shankar 7 months ago. Updated 5 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

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

Description

Right now task status in ceph status shows idle scrub status for each active MDS:

ceph -s                                                                                 
...
...

  services:                                      
    mon: 1 daemons, quorum a (age 24s)                                                                                               
    mgr: x(active, since 18s)
    mds: a:1 {0=b=up:active} 2 up:standby
    osd: 3 osds: 3 up (since 18s), 3 in (since 2h)

  task status:                           
    scrub status:                                
        mds.b: idle             
        mds.c: idle                               
...
...

This is a bit annoying. scrub status should show up only when there are active scrub running or if a scrub operation is paused or if an abort operation is in progress.


Related issues

Related to mgr - Bug #46495: mgr: rgw doesn't show in service map Pending Backport
Copied to CephFS - Backport #46479: octopus: mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..) Resolved
Copied to CephFS - Backport #46480: nautilus: mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..) In Progress

History

#1 Updated by Venky Shankar 7 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 34861

#2 Updated by Patrick Donnelly 5 months ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #46479: octopus: mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..) added

#4 Updated by Nathan Cutler 5 months ago

  • Copied to Backport #46480: nautilus: mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..) added

#5 Updated by Kefu Chai 5 months ago

  • Related to Bug #46495: mgr: rgw doesn't show in service map added

#6 Updated by Nathan Cutler 5 months ago

The original fix introduced a regression - https://tracker.ceph.com/issues/46495 - which is being fixed by https://github.com/ceph/ceph/pull/36091

Also available in: Atom PDF