]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
erasure-code: assert that firefly-x/stress-split cannot load lrc
authorLoic Dachary <loic-201408@dachary.org>
Wed, 10 Sep 2014 14:53:45 +0000 (16:53 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Wed, 24 Sep 2014 23:30:24 +0000 (01:30 +0200)
Because it would crash existing plugins.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit d6f02d604840b448158a1470b6bb1f6d0550e97f)

suites/upgrade/firefly-x/stress-split/9-workload/ec-no-lrc.yaml [new file with mode: 0644]

diff --git a/suites/upgrade/firefly-x/stress-split/9-workload/ec-no-lrc.yaml b/suites/upgrade/firefly-x/stress-split/9-workload/ec-no-lrc.yaml
new file mode 100644 (file)
index 0000000..870f4ec
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# The lrc plugin cannot be used because some OSD are not upgraded
+# yet and would crash.
+#
+- exec:
+    mon.a:
+      - |-
+        ceph osd erasure-code-profile set profile-lrc plugin=lrc 2>&1 | grep "unsupported by:"