Bug 1859179 - mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..)
Summary: mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..)
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.0
Hardware: All
OS: All
low
low
Target Milestone: ---
: 5.0
Assignee: Venky Shankar
QA Contact: subhash
URL:
Whiteboard:
Depends On:
Blocks: 1859181
TreeView+ depends on / blocked
 
Reported: 2020-07-21 11:55 UTC by Venky Shankar
Modified: 2020-12-14 16:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1859181 (view as bug list)
Environment:
Last Closed: 2020-07-31 21:56:08 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 45349 0 None None None 2020-07-21 11:55:27 UTC

Description Venky Shankar 2020-07-21 11:55:27 UTC
Description of problem:
Currently, task status field (in ceph status) always displays (mds) scrub status. This is rather unnecessary when scrub is not running. 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.

Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1. Create a Ceph Filesystem
2. Cehck ceph status output -- scrub status is displayed as "idle"

Also, after a scrub finishes, "idle" status is always displayed.

Actual results:
Scrub status is always displayed in ceph status.

Expected results:

Scrub status should only be displayed when an filesystem scrub is running (or paused, etc..)

Additional info:

Comment 1 RHEL Program Management 2020-07-21 11:55:35 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.


Note You need to log in before you can comment on or make changes to this bug.