]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/*/mon/mon-last-epoch-clean.sh: mark osd out instead of down 36999/head
authorNeha Ojha <nojha@redhat.com>
Fri, 4 Sep 2020 21:51:50 +0000 (21:51 +0000)
committerNeha Ojha <nojha@redhat.com>
Fri, 4 Sep 2020 22:09:05 +0000 (22:09 +0000)
The test should mark the OSD out to check if only "in" OSDs are considered by
the osdmap trimming logic.

Fixes: https://tracker.ceph.com/issues/47309
Signed-off-by: Neha Ojha <nojha@redhat.com>
qa/standalone/mon/mon-last-epoch-clean.sh

index 667c6a702b881627cb3479559fe9bd9055236ac8..172642e86559780a0b595c6521851e1d5e80f8ff 100755 (executable)
@@ -226,7 +226,7 @@ function TEST_mon_last_clean_epoch() {
   # - all pools have floor equal to lec
 
   while kill $osd_pid ; do sleep 1 ; done
-  ceph osd down 2
+  ceph osd out 2
   sleep 5 # seriously, just to make sure things settle; we may not need this.
 
   # generate some maps