mirror of
https://github.com/ceph/ceph
synced 2024-12-15 07:56:12 +00:00
qa/standalone/scrub/osd-scrub-repair: fix grep pattern
PGMap shows
ss << pg_sum.stats.sum.num_objects_unfound
<< "/" << pg_sum.stats.sum.num_objects << " objects unfound (" << b << "%)";
but we were grepping for "1/1 unfound" instead of "1/1 objects
unfound".
Introduced by fe81b7e3a5
.
Fixes: http://tracker.ceph.com/issues/21127
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
80a5556fac
commit
84465bf5a5
@ -374,11 +374,11 @@ function unfound_erasure_coded() {
|
||||
#
|
||||
# it may take a bit to appear due to mon/mgr asynchrony
|
||||
for f in `seq 1 60`; do
|
||||
ceph -s | grep "1/1 unfound" && break
|
||||
ceph -s | grep "1/1 objects unfound" && break
|
||||
sleep 1
|
||||
done
|
||||
ceph -s|grep "4 osds: 4 up, 4 in" || return 1
|
||||
ceph -s|grep "1/1 unfound" || return 1
|
||||
ceph -s|grep "1/1 objects unfound" || return 1
|
||||
|
||||
teardown $dir || return 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user