qa/suites/rados/singleton/all/recover-preemption: handle slow starting osd

The OSD may not be marked up yet; set the config via the admin
socket.

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-10-02 07:20:57 -05:00
parent c9cbe9348d
commit 76d84ac194

View File

@ -43,8 +43,7 @@ tasks:
- rados -p foo bench 3 write -b 4096 --no-cleanup
- ceph osd unset noup
- sleep 10
- ceph tell osd.* config set osd_recovery_sleep 0
- ceph tell osd.* config set osd_recovery_max_active 20
- for f in 0 1 2 3 ; do sudo ceph daemon osd.$f config set osd_recovery_sleep 0 ; sudo ceph daemon osd.$f config set osd_recovery_max_active 20 ; done
- ceph.healthy:
- exec:
osd.0: