]> 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)
committerSage Weil <sage@redhat.com>
Thu, 24 Dec 2015 14:57:52 +0000 (09:57 -0500)
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>
suites/rados/singleton/all/pg-removal-interruption.yaml

index 6764b1c76c2bc9d2ef7a7a9eb27f011d4b22ad87..1d6c320079758319ccec98e15765a0a2b8f7daf9 100644 (file)
@@ -17,6 +17,9 @@ tasks:
       - sudo ceph tell osd.0 injectargs -- --osd-inject-failure-on-pg-removal
       - sudo 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: