]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/standalone/ceph-helpers: resurrect all OSD before waiting for health 29992/head
authorKefu Chai <kchai@redhat.com>
Thu, 30 May 2019 15:44:37 +0000 (23:44 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 10 Sep 2019 16:56:19 +0000 (18:56 +0200)
commit716ed2dcc5aefdfa25ba8e0b7bf16f5db499743e
tree71ec41f4c7e0438bc3b76992335cb9bcc10e0dd5
parent677397b80c9ffb22eba4b4844e8aba2ce043496b
qa/standalone/ceph-helpers: resurrect all OSD before waiting for health

address the regression introduced by e62cfceb
in e62cfceb, we wanted to test the newly introduced TOO_FEW_OSDS
warning, so we increased the number of OSD to the size of pool, so if
the number of OSD is less than pool size, monitor will send a warning
message.

but we need to bring all OSDs back if we are expecting a healthy
cluster. in this change, all OSDs are resurrect before
`wait_for_health_ok`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit cdba0f14201a327e824b6ec48e014233281dee2d)
qa/standalone/ceph-helpers.sh