]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: disable max_mds changes during thrashing
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 4 Feb 2017 16:58:56 +0000 (11:58 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 6 Feb 2017 19:07:14 +0000 (14:07 -0500)
commitf005e8af6b52bd5e2194e5aa483a17acc9a7c3cf
treebd00a100ef27c046ad81d7205639295ecc84bcb5
parent82662edd7f384b7617b3590acdd1d47513e637d5
qa: disable max_mds changes during thrashing

While the trasher supports the behavior desired by issue 10792 [1], the
bugs uncovered due to deactivating MDS (and sometimes killing
deactivating MDS) are presently a distraction from addressing issues
during normal failures. So now thrashing max_mds is turned off by
default. I have added a TODO to deactivate ranks in order (configurably)
as random deactivation causes a lot of other problems.

This also fixes a bug: random.randrange(0.0, 1.0) always returns 0.
Oops.

[1] http://tracker.ceph.com/issues/10792

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/mds_thrash.py