Bug 1505457 - degraded object calcuation is wrong/misleading
Summary: degraded object calcuation is wrong/misleading
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 3.*
Assignee: Josh Durgin
QA Contact: ceph-qe-bugs
Erin Donnelly
URL:
Whiteboard:
Depends On:
Blocks: 1494421
TreeView+ depends on / blocked
 
Reported: 2017-10-23 15:47 UTC by Sage Weil
Modified: 2023-09-15 00:09 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2019-01-23 15:31:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 21803 0 None None None 2017-10-23 15:56:13 UTC
Red Hat Issue Tracker RHCEPH-7469 0 None None None 2023-09-15 00:09:00 UTC

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


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