]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Move /tmp/cephtest/data creation to where it belongs, in ceph.cluster.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Thu, 16 Jun 2011 21:05:13 +0000 (14:05 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Thu, 16 Jun 2011 21:36:21 +0000 (14:36 -0700)
teuthology/task/ceph.py

index 698dacd4ebd03081bd0fcca28c8315b23fd03d38..d924b8fa0cf20987a5e26d3fd6642559c170b127 100644 (file)
@@ -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,