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

mon: Fix status output warning for mon_warn_osd_usage_min_max_delta #16220

Merged
merged 1 commit into from Jul 10, 2017

Conversation

Projects
None yet
2 participants
@dzafman
Member

dzafman commented Jul 7, 2017

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

Caued by: 489e810

Signed-off-by: David Zafman dzafman@redhat.com

mon: Fix status output warning for mon_warn_osd_usage_min_max_delta
Fixes: http://tracker.ceph.com/issues/20544

Caued by: 489e810

Signed-off-by: David Zafman <dzafman@redhat.com>

@dzafman dzafman requested a review from liewegas Jul 7, 2017

@dzafman

This comment has been minimized.

Member

dzafman commented Jul 7, 2017

With this change on a test config setting mon_warn_osd_usage_min_max_delta to .2:

$ bin/ceph osd df
ID WEIGHT REWEIGHT SIZE USE AVAIL %USE VAR PGS
0 1.00000 1.00000 102349M 60748M 41600M 59.35 0.93 0
1 1.00000 1.00000 20029M 18265M 1764M 91.19 1.43 0
2 1.00000 1.00000 20469M 12314M 8154M 60.16 0.94 0
TOTAL 139G 91328M 51519M 63.93
MIN/MAX VAR: 0.93/1.43 STDDEV: 16.11

$ ceph status
...
difference between min (59.4%) and max (91.2%) osd usage 31.8% > 20% (mon_warn_osd_usage_min_max_delta)
...

@liewegas liewegas merged commit ce9dfe8 into ceph:master Jul 10, 2017

4 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
make check (arm64) make check succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment