Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1859179

Summary: mds: send scrub status to ceph-mgr only when scrub is running (or paused, etc..)
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Venky Shankar <vshankar>
Component: CephFSAssignee: Venky Shankar <vshankar>
Status: CLOSED UPSTREAM QA Contact: subhash <vpoliset>
Severity: low Docs Contact:
Priority: low    
Version: 5.0CC: ceph-eng-bugs, pdonnell, sweil
Target Milestone: ---   
Target Release: 5.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1859181 (view as bug list) Environment:
Last Closed: 2020-07-31 21:56:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1859181    

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.