ceph/tasks/cephfs
Patrick Donnelly 9832beac85
tasks/mds_thrash: support multimds
This commit amends the MDS thrasher task to also work on multimds
clusters. Main changes:

o New FSStatus class in tasks/cephfs/filesystem.py which gets a snapshot
  of the fsmap (`ceph fs dump`). This allows consecutive operations on
  the same fsmap without repeated fs dumps.

o Only one MDSThrasher is started for each file system.

o The MDSThrasher operates on ranks instead of names (and groups of
  standbys following the initial active).

o The MDSThrasher also will change the max_mds for the cluster to a new
  value [1, current) or (current, starting max_mds]. When reduced,
  randomly selected MDSs other than rank 0 will be deactivated to reach
  the new max_mds. The likelihood of changing max_mds in a given cycle of
  the MDSThrasher is set by the "thrash_max_mds" config.

o The MDSThrasher prints out stats on completion, e.g. number of
  mds deactivated or mds_max changed.

Pre-requisite for: http://tracker.ceph.com/issues/10792
Partially fixes: http://tracker.ceph.com/issues/15134

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-11-07 21:24:09 -05:00
..
__init__.py
cephfs_test_case.py tasks/mds_thrash: support multimds 2016-11-07 21:24:09 -05:00
filesystem.py tasks/mds_thrash: support multimds 2016-11-07 21:24:09 -05:00
fuse_mount.py
kernel_mount.py tasks: fix {testdir}/data paths 2016-05-11 12:08:32 -07:00
mount.py tasks/cephfs: add TestDataScan.test_scan_links 2016-10-25 21:37:08 +08:00
test_auto_repair.py
test_backtrace.py tasks/mds_thrash: support multimds 2016-11-07 21:24:09 -05:00
test_cap_flush.py tasks/cephfs: rename 'long_running' decorator 2016-06-30 23:44:54 +01:00
test_client_limits.py tasks/cephfs: check cache size health warning 2016-07-29 12:42:30 +01:00
test_client_recovery.py
test_config_commands.py
test_damage.py tasks/cephfs: rename 'long_running' decorator 2016-06-30 23:44:54 +01:00
test_data_scan.py tasks/mds_thrash: support multimds 2016-11-07 21:24:09 -05:00
test_dump_tree.py cephfs: add test for dump tree admin socket command 2016-07-28 11:35:56 +01:00
test_failover.py tasks/mds_thrash: support multimds 2016-11-07 21:24:09 -05:00
test_flush.py
test_forward_scrub.py tasks/cephfs: fixup test_backtrace_repair 2016-10-28 10:33:17 +01:00
test_full.py
test_journal_migration.py
test_journal_repair.py tasks/cephfs: rename 'long_running' decorator 2016-06-30 23:44:54 +01:00
test_mantle.py mds: add tests for mantle (programmable balancer) 2016-10-03 12:16:01 -07:00
test_misc.py
test_pool_perm.py tasks/mds_thrash: support multimds 2016-11-07 21:24:09 -05:00
test_readahead.py cephfs: test readahead is working 2016-06-09 11:07:45 -04:00
test_scrub_checks.py
test_sessionmap.py tasks/cephfs: find processes correctly 2016-05-23 19:52:21 +01:00
test_strays.py tasks/cephfs: rename 'long_running' decorator 2016-06-30 23:44:54 +01:00
test_volume_client.py Merge pull request #1202 from ajarr/wip-check-volume-size 2016-10-19 15:19:14 +02:00