From: Josh Durgin Date: Sun, 23 Mar 2014 19:03:25 +0000 (-0700) Subject: ceph: ignore daemon types that aren't configured X-Git-Tag: 1.1.0~1578 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=190d8183e9b8da13d1f3eeb0817724d146053e4d;p=teuthology.git ceph: ignore daemon types that aren't configured not every cluster needs an mds Signed-off-by: Josh Durgin --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 8a02770db..5a695b570 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'