From 4fcecf0184be871a3ccb50aa54652f6cf027776d Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 6 Jul 2011 16:44:46 -0700 Subject: [PATCH] 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 --- teuthology/task/ceph.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index c3182212d55db..ca114c5cb42ad 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: -- 2.39.5