Bug 1505457

Summary: degraded object calcuation is wrong/misleading
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sage Weil <sweil>
Component: RADOSAssignee: Josh Durgin <jdurgin>
Status: CLOSED UPSTREAM QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact: Erin Donnelly <edonnell>
Priority: unspecified    
Version: 3.0CC: ceph-eng-bugs, dzafman, edonnell, jdurgin, kchai, kdreyer, sweil
Target Milestone: rc   
Target Release: 3.*   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
.During a data rebalance of a Ceph cluster, the system might report degraded objects Under certain circumstances, such as when an OSD is marked out, the number of degraded objects reported during a data rebalance of a Ceph cluster can be too high, in some cases implying a problem where none exists.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-23 15:31:00 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: 1494421    

Description Sage Weil 2017-10-23 15:47:50 UTC
Description of problem:

During a data rebalance (no failed OSDs), the system may report degraded objects.  This is alarming and misleading (redundancy is not in fact degraded).  Trivially reproducible on a cluster under any load.

How reproducible:

Easy

Steps to Reproduce:
1. ceph osd pool create foo 64
2. rados -p foo bench 30 write -b 4096 --no-cleanup
3. ceph osd out 0
4. rados -p foo bench 30 write -b 4096 --no-cleanup &
5. watch ceph -s

Actual results:

Shows degraded objects

Expected results:

Only misplaced objects should be shown.

Comment 3 Sage Weil 2017-10-23 15:56:32 UTC
upstream PR: https://github.com/ceph/ceph/pull/18297

Comment 9 Yaniv Kaul 2019-01-23 14:06:08 UTC
(In reply to Sage Weil from comment #3)
> upstream PR: https://github.com/ceph/ceph/pull/18297

This was merged ~1.5 years ago. Can we CLOSE-UPSTREAM this?

Comment 10 Red Hat Bugzilla 2023-09-15 00:04:43 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days