From 190d8183e9b8da13d1f3eeb0817724d146053e4d Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Sun, 23 Mar 2014 12:03:25 -0700 Subject: [PATCH] ceph: ignore daemon types that aren't configured not every cluster needs an mds Signed-off-by: Josh Durgin --- teuthology/task/ceph.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 8a02770db1..5a695b5708 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -1129,6 +1129,10 @@ def run_daemon(ctx, config, type_): log.info('Starting %s daemons...' % type_) testdir = teuthology.get_testdir(ctx) daemons = ctx.cluster.only(teuthology.is_type(type_)) + + # check whether any daemons if this type are configured + if daemons is None: + return coverage_dir = '{tdir}/archive/coverage'.format(tdir=testdir) daemon_signal = 'kill' -- 2.39.5