From: Greg Farnum Date: Wed, 6 Jul 2011 23:44:46 +0000 (-0700) Subject: task ceph: set_max_mds so multiple MDS nodes are used X-Git-Tag: 1.1.0~2939 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4fcecf0184be871a3ccb50aa54652f6cf027776d;p=teuthology.git task ceph: set_max_mds so multiple MDS nodes are used The current check will be insufficient when we handle standby-replays, standbys, etc, but it's a lot better than the current situation where it starts up all the daemons but only one is active! Signed-off-by: Greg Farnum --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index c3182212d5..ca114c5cb4 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -568,6 +568,15 @@ def mds(ctx, config): ) mds_daemons[id_] = proc + (mon0_remote,) = ctx.cluster.only('mon.0').remotes.keys() + mon0_remote.run(args=[ + '/tmp/cephtest/enable-coredump', + '/tmp/cephtest/binary/usr/local/bin/ceph-coverage', + '/tmp/cephtest/archive/coverage', + '/tmp/cephtest/binary/usr/local/bin/ceph', + '-c', '/tmp/cephtest/ceph.conf', + 'mds', 'set_max_mds', str(len(mdss.remotes))]) + try: yield finally: