1
0
mirror of https://github.com/ceph/ceph synced 2025-02-28 13:32:27 +00:00
ceph/teuthology
Joao Eduardo Luis c1b75c6b0c task: mon_thrash: Thrash multiple monitors and 'maintain-quorum' option
We now add a new option 'thrash-many' that by being set to true will break
the default behaviour of killing only one monitor at a time.  Instead,
this option will select up to the maximum number of killable monitors to
kill in each round.

We also add a new 'maintain-quorum' option that will limit the amount of
monitors that can be killed in each thrashing round.  If set to true, this
option will limit the amount of killable monitors up to (n/2-1).  This
means that if we are running a configuration that only has up to two
configured monitors, if 'maintain-quorum' is set to true, this task won't
run as there are no killable monitors -- in such a scenario, this option
should be set to false.

Furthermore, if 'store-thrash' is set to true, then 'maintain-quorum' must
also be set to true, as we cannot let the task to thrash all the monitor
stores, or we wouldn't be able to sync from other monitors, nor can we
let quorum be dropped, or we won't be able to resync our way into quorum.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-02-22 00:44:49 +00:00
..
locker Added support for multiple types of machines. 2013-02-07 13:26:37 -08:00
orchestra Install ceph debs and use installed debs 2013-02-18 13:39:03 -08:00
task task: mon_thrash: Thrash multiple monitors and 'maintain-quorum' option 2013-02-22 00:44:49 +00:00
test
__init__.py
ceph.conf.template ceph.conf: log file, not log dir 2013-02-21 16:21:33 -08:00
contextutil.py
coverage.py
lock.py lock: allow filtering by description, description substring 2013-02-18 13:39:06 -08:00
misc.py cfuse -> ceph-fuse 2013-02-18 13:39:05 -08:00
nuke.py Fix unused vars, unused imports, and aliasing 2013-02-21 14:47:00 -08:00
parallel.py
queue.py add --name option to teuthology 2013-01-31 08:23:34 -06:00
run_tasks.py
run.py run: print pass/FAIL as final line 2013-02-20 15:27:23 -08:00
safepath.py
suite.py Starting to auto-document this code. 2012-11-14 17:24:50 -08:00