]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/standalone/ceph-helpers: resurrect all OSD before waiting for health 30180/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:58:34 +0000 (18:58 +0200)
commit6e1480058651a12da0649a5d82eb7865947a1d4d
tree51665cd35572b90bdd7062259924d488e4df020a
parentf7d9c2e52d43e7ffd5be659d0c9e95dcd7d3060d
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