diff options
Diffstat (limited to 'qa/workunits/mon/mon-stretch-mode-5-mons-8-osds.sh')
-rwxr-xr-x | qa/workunits/mon/mon-stretch-mode-5-mons-8-osds.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qa/workunits/mon/mon-stretch-mode-5-mons-8-osds.sh b/qa/workunits/mon/mon-stretch-mode-5-mons-8-osds.sh index ded13854160..827fb0a0b13 100755 --- a/qa/workunits/mon/mon-stretch-mode-5-mons-8-osds.sh +++ b/qa/workunits/mon/mon-stretch-mode-5-mons-8-osds.sh @@ -9,6 +9,10 @@ if [ $NUM_OSDS_UP -lt 8 ]; then exit 1 fi +# ensure election strategy is set to "connectivity" +# See https://tracker.ceph.com/issues/69107 +ceph mon set election_strategy connectivity + for dc in dc1 dc2 do ceph osd crush add-bucket $dc datacenter @@ -65,4 +69,4 @@ EOF crushtool --compile crushmap_modified.txt -o crushmap.bin ceph osd setcrushmap -i crushmap.bin -ceph mon enable_stretch_mode e stretch_rule datacenter
\ No newline at end of file +ceph mon enable_stretch_mode e stretch_rule datacenter |