]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rados/singleton: test interrupted pg removal
authorSage Weil <sage@redhat.com>
Fri, 23 Jan 2015 23:43:01 +0000 (15:43 -0800)
committerSage Weil <sage@redhat.com>
Fri, 23 Jan 2015 23:43:01 +0000 (15:43 -0800)
Inject osd failure during pg removal.  Verify the OSD successfully
recovers.

Signed-off-by: Sage Weil <sage@redhat.com>
suites/rados/singleton/all/pg-removal-interruption.yaml [new file with mode: 0644]

diff --git a/suites/rados/singleton/all/pg-removal-interruption.yaml b/suites/rados/singleton/all/pg-removal-interruption.yaml
new file mode 100644 (file)
index 0000000..d574e59
--- /dev/null
@@ -0,0 +1,24 @@
+roles:
+- - mon.a
+  - osd.0
+  - osd.1
+  - osd.2
+  - client.0
+tasks:
+- install:
+- ceph:
+    log-whitelist:
+    - wrongly marked me down
+    - slow request
+- exec:
+    client.0:
+      - ceph osd pool create foo 128 128
+      - sleep 5
+      - 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]
+- ceph.restart: [osd.0]
+- exec:
+    client.0:
+      - ceph tell osd.0 flush_pg_stats
+- ceph.healthy: