Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kraken: osd: ceph degraded and misplaced status output inaccurate #14322

Merged
merged 1 commit into from Apr 13, 2017

Conversation

shinobu-x
Copy link
Contributor

Calculate num_object_copies based on the larger of pool size,
up set size and acting set size.

Calculate num_objects_degraded as the difference between num_object_copies
and all copies found on acting set and backfilling up set OSDs.

Calculate num_objects_misplaced as all copies on acting set OSDs not in up set
less copies that have been backfilled to up set OSDs.

Fixes: http://tracker.ceph.com/issues/18619

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 8423bc4)
@liewegas liewegas modified the milestone: kraken Apr 4, 2017
@smithfarm smithfarm changed the title kraken: ceph degraded and misplaced status output inaccurate kraken: osd: ceph degraded and misplaced status output inaccurate Apr 7, 2017
@smithfarm
Copy link
Contributor

@liewegas @jdurgin This passed a rados suite at http://tracker.ceph.com/issues/19009#note-3 with one reproducible failure in rados/objectstore/objectstore.yaml that appears to be bluestore-related.

OK to merge?

@smithfarm smithfarm merged commit b7877d1 into ceph:kraken Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants