]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: set osd_pool_default_crimson for crimson clusters
authorSamuel Just <sjust@redhat.com>
Thu, 13 Oct 2022 00:58:24 +0000 (17:58 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 14 Feb 2023 06:36:35 +0000 (22:36 -0800)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/vstart.sh

index 2802f49d6b5765e3e1e2fa48fd3c8de966e0f8fa..4f85b9fed2ac57f2ee1073d5c09e6dc6a1a10ba5 100755 (executable)
@@ -852,6 +852,12 @@ $CMONDEBUG
         osd pool default erasure code profile = plugin=jerasure technique=reed_sol_van k=2 m=1 crush-failure-domain=osd
         auth allow insecure global id reclaim = false
 EOF
+
+    if [ "$crimson" -eq 1 ]; then
+        wconf <<EOF
+        osd pool default crimson = true
+EOF
+    fi
 }
 
 write_logrotate_conf() {