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
jewel: osd: ceph osd df does not show summarized info correctly if one or more OSDs are out #10759
Conversation
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn> (cherry picked from commit 98f50ce)
If an osd is automatically marked as out, the output of "osd df" is not right, as follow: -5 10.00999 - 5586G 2989G 2596G 0 0 host ceph192-9-9-8 11 0.90999 1.00000 931G 542G 388G 58.25 0.99 osd.11 14 0.90999 1.00000 931G 530G 400G 56.97 0.97 osd.14 20 0.90999 1.00000 931G 716G 214G 76.99 1.31 osd.20 22 0.90999 1.00000 931G 477G 453G 51.29 0.87 osd.22 26 0.90999 0 0 0 0 0 0 osd.26 28 0.90999 1.00000 931G 587G 343G 63.09 1.07 osd.28 30 0.90999 1.00000 931G 602G 328G 64.75 1.10 osd.30 16 0.90999 1.00000 931G 589G 341G 63.34 1.08 osd.16 18 0.90999 1.00000 931G 530G 400G 56.93 0.97 osd.18 24 0.90999 1.00000 931G 202G 728G 21.77 0.37 osd.24 32 0.90999 1.00000 931G 477G 454G 51.23 0.87 osd.32 Two problems are identified from the above output: 1. the total capacity(total, total used, total avial) only includes osd.32, osd.24, osd.18, osd.16, osd.30, osd.28, and other healthy osds such as osd.11, osd.14 etc. are excluded. 2. the average utilization/deviation are forced resetted. Fixes: http://tracker.ceph.com/issues/16706 Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn> (cherry picked from commit 1e47354)
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
test this please (no tests were run for some reason) |
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
@tchaikov does this backport look good to merge ? It passed the rados suite http://tracker.ceph.com/issues/17487#note-4 (except for one known bug that is, I believe, unrelated and one environmental failure on an erasure code job). |
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
It passed the rados (http://tracker.ceph.com/issues/17487#note-12), upgrade/jewel-x and upgrade/hammer-x (http://tracker.ceph.com/issues/17487#note-15) suites (except for two bugs that are, I believe, unrelated) |
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
…arized info correctly if one or more OSDs are out Reviewed-by: Loic Dachary <ldachary@redhat.com>
It passed the rados (http://tracker.ceph.com/issues/17487#note-19) suite except for two jobs that are, I believe unrelated. It also passed the upgrade/jewel-x and upgrade/hammer-x (http://tracker.ceph.com/issues/17487#note-22) suites. |
lgtm also! |
http://tracker.ceph.com/issues/16866