]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/standalone/osd/osd-markdown.sh
import ceph 12.2.12
[ceph.git] / ceph / qa / standalone / osd / osd-markdown.sh
index 6a28a305caaf8cc9ceed9eb8ec7f7cf6f0eace25..64157537d1be955184d9082624fe6c03dc40e7bd 100755 (executable)
@@ -45,7 +45,10 @@ function markdown_N_impl() {
     ceph osd tree
     ceph osd tree | grep osd.0 |grep up || return 1
     # mark the OSD down.
-    ceph osd down 0
+    # override any dup setting in the environment to ensure we do this
+    # exactly once (modulo messenger failures, at least; we can't *actually*
+    # provide exactly-once semantics for mon commands).
+    CEPH_CLI_TEST_DUP_COMMAND=0 ceph osd down 0
     sleep $sleeptime
   done
 }