]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/mon: ensure election strategy is "connectivity" for stretch mode wip-68841-reef
authorLaura Flores <lflores@ibm.com>
Tue, 3 Dec 2024 22:15:19 +0000 (16:15 -0600)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Wed, 17 Sep 2025 05:40:03 +0000 (05:40 +0000)
commitaff4dba9ad40823f660ace2063f0131dfbaedbd8
tree6d7cfe462979d79f88c3972e848150b97de6e89a
parent9a775a1c90d3651f49d19cdb52ceb662c9cf752c
qa/workunits/mon: ensure election strategy is "connectivity" for stretch mode

The election strategy is randomly chosen for this type of test. Sometimes,
the test passes if the "connectivity" election strategy happens to be picked.
But if a different strategy, i.e. "classic", is picked, then the test will fail.

We can ensure that the election strategy is "connectivity" by setting it in the
workunit with the ceph CLI command. Although connectivity was specified in
stretch-mode-5-mons-8-osds.yaml, that config ultimately gets overridden by
the "qa/mon_config" yaml.

Fixes: https://tracker.ceph.com/issues/69107
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit de2d9186bddbd452d2e7939723418c200e3fec46)
qa/suites/rados/singleton/all/stretch-mode-5-mons-8-osds.yaml
qa/workunits/mon/mon-stretch-mode-5-mons-8-osds.sh