]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/mon: ensure election strategy is "connectivity" for stretch mode 60927/head
authorLaura Flores <lflores@ibm.com>
Tue, 3 Dec 2024 22:15:19 +0000 (16:15 -0600)
committerLaura Flores <lflores@ibm.com>
Tue, 3 Dec 2024 22:15:19 +0000 (16:15 -0600)
commitde2d9186bddbd452d2e7939723418c200e3fec46
tree2baabc79f27428a2ab8c283d9b5e9690ae2fd9f5
parent1e2b3e51b9384322177e91166e5c442bab99b558
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>
qa/suites/rados/singleton/all/stretch-mode-5-mons-8-osds.yaml
qa/workunits/mon/mon-stretch-mode-5-mons-8-osds.sh