import orchestra.cluster
# TODO cleanup
import teuthology.misc as teuthology
+from teuthology.run_tasks import run_tasks
log = logging.getLogger(__name__)
for rem, roles in zip(remotes, ROLES):
cluster.add(rem, roles)
+ ctx = bunch.Bunch(
+ cluster=cluster,
+ )
+
log.info('Checking for old test directory...')
processes = cluster.run(
args=[
# TODO rbd
- ctx = bunch.Bunch(
- cluster=cluster,
- )
- from teuthology.run_tasks import run_tasks
- run_tasks(
- tasks=[
- {'cfuse': ['client.0']},
- {'autotest': {'client.0': ['dbench']}},
- {'interactive': None},
- ],
- ctx=ctx,
- )
+ run_tasks(tasks=config['tasks'], ctx=ctx)
log.info('Shutting down mds daemons...')
for id_, proc in mds_daemons.iteritems():
- ubuntu@sepia70.ceph.dreamhost.com
- ubuntu@sepia71.ceph.dreamhost.com
- ubuntu@sepia72.ceph.dreamhost.com
-client_types:
-- client.0: kclient
+tasks:
+- cfuse: [client.0]
+- autotest:
+ client.0: [dbench]
+- interactive: