Bug 1857447

Summary: ceph df detail reports dirty objects without a cache tier
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mike Hackett <mhackett>
Component: RADOSAssignee: Deepika Upadhyay <dupadhya>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: medium Docs Contact:
Priority: low    
Version: 4.1CC: akupczyk, bhubbard, ceph-eng-bugs, nojha, pdhiran, rzarzyns, sseshasa, tserlin
Target Milestone: ---   
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.6-2.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:19:51 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:

Description Mike Hackett 2020-07-15 21:06:54 UTC
Description of problem:
'ceph df detail' reports a column for DIRTY objects under POOLS even though cache tiers are not being used, they are also a deprecated feature.

In the case of a replicated or EC pool all objects in the pool are reported as logically DIRTY as they have never been flushed .

EXAMPLE:

root@ceph6 ~]# ceph df detail
GLOBAL:
    SIZE        AVAIL       RAW USED     %RAW USED     OBJECTS 
    2.64TiB     2.23TiB       419GiB         15.51      35.23k 
POOLS:
    NAME     ID     QUOTA OBJECTS     QUOTA BYTES     USED       %USED     MAX AVAIL     OBJECTS     DIRTY      READ     WRITE       RAW USED 
    test     1      N/A               N/A             138GiB     16.30        707GiB       35227     35.23k       0B     34.4KiB       413GiB 


We should report this as 0 or better, remove DIRTY since cache tiering is a deprecated feature.

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

How reproducible:
consistent

Comment 9 errata-xmlrpc 2022-04-04 10:19:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1174