Project

General

Profile

Actions

Bug #45349

closed

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

Added by Venky Shankar almost 6 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-3331-g957bcb4edf
Released In:
v16.2.0~2028
Upkeep Timestamp:
2025-07-15T01:13:01+00:00

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 3 (0 open3 closed)

Related to mgr - Bug #46495: mgr: rgw doesn't show in service mapResolvedKefu Chai

Actions
Copied to CephFS - Backport #46479: octopus: mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..)ResolvedNathan CutlerActions
Copied to CephFS - Backport #46480: nautilus: mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..)ResolvedNathan CutlerActions
Actions #1

Updated by Venky Shankar almost 6 years ago

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

Updated by Patrick Donnelly over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Updated by Kefu Chai over 5 years ago

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

Updated by Nathan Cutler over 5 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

Actions #7

Updated by Loïc Dachary almost 5 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".

Actions #8

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 957bcb4edf7de04b9ccc4590449c4249b13d66d9
  • Fixed In set to v16.0.0-3331-g957bcb4edf
  • Released In set to v16.2.0~2028
  • Upkeep Timestamp set to 2025-07-15T01:13:01+00:00
Actions

Also available in: Atom PDF