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

qa/suites/fs: reserve more space for mds in full tests #15026

Merged
merged 2 commits into from May 15, 2017

Conversation

Projects
None yet
2 participants
@ukernel
Member

ukernel commented May 10, 2017

Fixes: http://tracker.ceph.com/issues/19891
Signed-off-by: "Yan, Zheng" zyan@redhat.com

qa/suites/fs: reserve more space for mds in full tests
Fixes: http://tracker.ceph.com/issues/19891
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
qa/suites/fs: fix write size calculation in full tests
'max_avail' has already taken full_ratio into account

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
osd:
osd mon report interval max: 5
osd objectstore: memstore
memstore device bytes: 100000000
osd failsafe full ratio: 1.0

This comment has been minimized.

@jcsp

jcsp May 11, 2017

Contributor

If the test was failing because of OSDs hitting the failsafe full threshold, then shouldn't this osd failsafe full ratio: 1.0 fix the test? Why are the other adjustments to nearfull etc needed?

This comment has been minimized.

@ukernel

ukernel May 12, 2017

Member

we need to make sure "nearfull <= backfillfull <= full <= failsafe" , otherwise we get health warning.

@ukernel

This comment has been minimized.

Member

ukernel commented May 12, 2017

memstore size is too small. changing failsafe_ratio from 0.97 to 1 does not work

here is osd log

2017-05-06 15:03:04.583578 7f0b5f179700 20 osd.2 30 update_osd_stat osd_stat(97656 kB used, 0 kB avail, 97656 kB total, peers [0,1] op hist [])
2017-05-06 15:03:04.583584 7f0b5f179700 20 osd.2 30 check_full_status cur ratio 1. nearfull_ratio 0.85. backfillfull_ratio 0.9, full_ratio 0.95, failsafe_ratio 0.97, new state failsafe
2017-05-06 15:03:04.583599 7f0b5f179700  5 osd.2 30 heartbeat: osd_stat(97656 kB used, 0 kB avail, 97656 kB total, peers [0,1] op hist [])
@jcsp

jcsp approved these changes May 15, 2017

@jcsp jcsp merged commit 17f669a into ceph:master May 15, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@ukernel ukernel deleted the ukernel:wip-19891 branch May 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment