Project

General

Profile

Bug #45349

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

Added by Venky Shankar almost 4 years ago. Updated almost 3 years ago.

Status:
Resolved
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 (v1):
Crash signature (v2):

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 Resolved
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..) Resolved

History

#1 Updated by Venky Shankar almost 4 years ago

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

#2 Updated by Patrick Donnelly over 3 years ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler over 3 years 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 over 3 years 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 over 3 years ago

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

#6 Updated by Nathan Cutler over 3 years 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

#7 Updated by Loïc Dachary almost 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF