From 3d4db5b479081f4fd2f958395f3cd7aa2a7d1ec2 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Tue, 16 Feb 2021 20:03:12 +0000 Subject: [PATCH] script: set_up_stretch_mode: include OSDs in root=default so pg creation works Signed-off-by: Greg Farnum --- src/script/set_up_stretch_mode.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/script/set_up_stretch_mode.sh b/src/script/set_up_stretch_mode.sh index 989dc20c2082d..31ccfbdc9f5e2 100755 --- a/src/script/set_up_stretch_mode.sh +++ b/src/script/set_up_stretch_mode.sh @@ -4,10 +4,10 @@ set -x ./bin/ceph config set osd osd_crush_update_on_start false -./bin/ceph osd crush move osd.0 host=host1-1 datacenter=site1 -./bin/ceph osd crush move osd.1 host=host1-2 datacenter=site1 -./bin/ceph osd crush move osd.2 host=host2-1 datacenter=site2 -./bin/ceph osd crush move osd.3 host=host2-2 datacenter=site2 +./bin/ceph osd crush move osd.0 host=host1-1 datacenter=site1 root=default +./bin/ceph osd crush move osd.1 host=host1-2 datacenter=site1 root=default +./bin/ceph osd crush move osd.2 host=host2-1 datacenter=site2 root=default +./bin/ceph osd crush move osd.3 host=host2-2 datacenter=site2 root=default ./bin/ceph osd getcrushmap > crush.map.bin ./bin/crushtool -d crush.map.bin -o crush.map.txt -- 2.39.5