The hammer-x/stress-split-erasure-code upgrade sequence comes from
hammer-x/stress-split and was modified to fully upgrade the cluster. It
previously upgraded only half of it. Verifying that the shec plugin is
not available and that trying to set it does not crash the OSD or the
MON must be tried before the upgrade is complete.
Signed-off-by: Loic Dachary <loic@dachary.org>
--- /dev/null
+#
+# The shec plugin cannot be used because some OSD are not upgraded
+# yet and would crash.
+#
+tasks:
+- exec:
+ mon.a:
+ - |-
+ sudo ceph osd erasure-code-profile set profile-shec k=2 m=1 c=1 plugin=shec 2>&1 | grep "unsupported by"
+++ /dev/null
-#
-# The shec plugin cannot be used because some OSD are not upgraded
-# yet and would crash.
-#
-tasks:
-- exec:
- mon.a:
- - |-
- sudo ceph osd erasure-code-profile set profile-shec k=2 m=1 c=1 plugin=shec 2>&1 | grep "unsupported by"