]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
ceph: fix log, /var/run/ceph stupid
authorSage Weil <sage@inktank.com>
Thu, 21 Feb 2013 21:13:51 +0000 (13:13 -0800)
committerSage Weil <sage@inktank.com>
Thu, 21 Feb 2013 23:08:14 +0000 (15:08 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/task/ceph.py

index 3c69f502e7be90adef4ee231673c0418bd1e37ef..efd04954489397d1b618eb18960f097727059578 100644 (file)
@@ -79,19 +79,14 @@ class CephState(object):
 
 @contextlib.contextmanager
 def ceph_log(ctx, config):
-    log.info('Making ceph log and run dirs writeable by non-root...')
+    log.info('Making ceph log dir writeable by non-root...')
     run.wait(
         ctx.cluster.run(
             args=[
-                'sudo',
-                'install', '-d', '-m0755', '--',
-                '/var/run/ceph',
-                run.Raw(';'),
                 'sudo',
                 'chmod',
                 '777',
                 '/var/log/ceph',
-                '/var/run/ceph',
                 ],
             wait=False,
             )
@@ -255,7 +250,7 @@ def cluster(ctx, config):
         ctx.cluster.run(
             args=[
                 'sudo',
-                'install', '-d', '-m0755', '--', '/var/run/ceph',
+                'install', '-d', '-m0777', '--', '/var/run/ceph',
                 ],
             wait=False,
             )