]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/ceph-helpers: test wait_for_health_ok differently 16317/head
authorKefu Chai <kchai@redhat.com>
Thu, 13 Jul 2017 09:43:39 +0000 (17:43 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 13 Jul 2017 09:49:44 +0000 (17:49 +0800)
commita2335091d620a5145ec5a99ad691a580684833e8
tree6cba31296162f240bce087f17d372d94cb5d1fa9
parent1af3f3e3b37d1e34f6be1d39e8e947f84e1342bc
qa/workunits/ceph-helpers: test wait_for_health_ok differently

0 OSDs is not an error anymore in the new health checking implemented by
OSDMap::check_health(). this case was treated as an error before, see
OSDMonitor::get_health(). but an osdmap without any OSD is fine, i
think. but an osdmap with 3 OSDs, but all of them are down and out, this
is an error. and we do report this as an error. so, let's update the
test instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/ceph-helpers.sh