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: ENOSPC seen even with osd_failsafe_full_ratio passed #16134

Merged
merged 8 commits into from Jul 31, 2017

Conversation

smithfarm
Copy link
Contributor

@smithfarm smithfarm commented Jul 5, 2017

@smithfarm smithfarm self-assigned this Jul 5, 2017
@smithfarm smithfarm added this to the kraken milestone Jul 5, 2017
@smithfarm
Copy link
Contributor Author

@liewegas @jdurgin @dzafman This passed a rados suite at http://tracker.ceph.com/issues/19009#note-62

Please review.

@dzafman
Copy link
Contributor

dzafman commented Jul 18, 2017

Please add #16220 to this backport which fixes a problem with 489e810

float diff = max_osd_usage - min_osd_usage;
if (diff > g_conf->mon_warn_osd_usage_min_max_delta) {
ostringstream ss;
ss << "difference between min (" << roundf(min_osd_usage*1000.0)/100.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was follow on fix for this generated output.

dzafman and others added 8 commits July 18, 2017 22:12
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 50cfe03)
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 830cc7a)
…cent (10%)

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit c8004e6)
Fixes: http://tracker.ceph.com/issues/16878

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 78adb70)
This really only works after journal drains because
we adjust for the journal.

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 26dcb59)
…fs min reserved

This fixes OSD crashes because checking osd_failsafe_full_ratio won't work
without accurate statfs information.

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 72d83f8)
Clean up option naming.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 489e810)
Fixes: http://tracker.ceph.com/issues/20544

Caued by: 489e810

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 56f9808)

Conflicts:
    src/mon/PGMap.cc:
        kraken has no daa0793 so we manually
        apply the changes from 56f9808 to
        src/mon/PGMonitor.cc instead of to src/mon/PGMap.cc
@smithfarm
Copy link
Contributor Author

@dzafman This passed another rados suite at http://tracker.ceph.com/issues/19009#note-71 and I added the commit you asked for. Please take a look.

@smithfarm smithfarm merged commit b50909c into ceph:kraken Jul 31, 2017
@smithfarm smithfarm deleted the wip-19340-kraken branch July 31, 2017 10:23
@smithfarm smithfarm changed the title kraken: An OSD was seen getting ENOSPC even with osd_failsafe_full_ratio passed kraken: osd: ENOSPC seen even with osd_failsafe_full_ratio passed Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants