From: Tommi Virtanen Date: Thu, 16 Jun 2011 21:05:13 +0000 (-0700) Subject: Move /tmp/cephtest/data creation to where it belongs, in ceph.cluster. X-Git-Tag: v0.94.10~27^2^2~364^2~1716 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=629ad4477d8967690771e72d927d2b019961a4db;p=ceph.git Move /tmp/cephtest/data creation to where it belongs, in ceph.cluster. --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 698dacd4ebd..d924b8fa0cf 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -152,6 +152,15 @@ def binaries(ctx, config): @contextlib.contextmanager def cluster(ctx, config): log.info('Creating ceph cluster...') + run.wait( + ctx.cluster.run( + args=[ + 'install', '-d', '-m0755', '--', + '/tmp/cephtest/data', + ], + wait=False, + ) + ) log.info('Writing configs...') remotes_and_roles = ctx.cluster.remotes.items() @@ -628,7 +637,6 @@ def task(ctx, config): args=[ 'install', '-d', '-m0755', '--', '/tmp/cephtest/archive', - '/tmp/cephtest/data', coverage_dir, ], wait=False,