]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados/singleton/all/pg-removal-interruption: ensure osd.0 is marked down
authorSage Weil <sage@redhat.com>
Thu, 24 Dec 2015 14:57:52 +0000 (09:57 -0500)
committerDavid Zafman <dzafman@redhat.com>
Thu, 25 Feb 2016 04:27:27 +0000 (20:27 -0800)
We were waiting for teh dameon to fail, not for the mons to notice,
which meant that after we restart the daemon the next tell could
try to talk to the old osd.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 07232b1e2bed5911453f30397a5a9de6c9d3125d)

suites/rados/singleton/all/pg-removal-interruption.yaml

index d574e599341da2a724025035e355beaaa8043663..95cfef766813121496f3474cc6fba1db4a9b2b60 100644 (file)
@@ -17,6 +17,9 @@ tasks:
       - ceph tell osd.0 injectargs -- --osd-inject-failure-on-pg-removal
       - ceph osd pool delete foo foo --yes-i-really-really-mean-it
 - ceph.wait_for_failure: [osd.0]
+- exec:
+    client.0:
+      - sudo ceph osd down 0
 - ceph.restart: [osd.0]
 - exec:
     client.0: