]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/*/mon/mon-last-epoch-clean.sh: mark osd out instead of down 37478/head
authorNeha Ojha <nojha@redhat.com>
Fri, 4 Sep 2020 21:51:50 +0000 (21:51 +0000)
committerNathan Cutler <ncutler@suse.com>
Tue, 29 Sep 2020 16:56:08 +0000 (18:56 +0200)
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>
(cherry picked from commit 21c08f0be2e048edd2d3ce7ca803f94a6d32f97c)

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