From 17be13b2b482082aee37b87216920d5252ca88e5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 21 Feb 2013 13:13:51 -0800 Subject: [PATCH] ceph: fix log, /var/run/ceph stupid Signed-off-by: Sage Weil --- teuthology/task/ceph.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 3c69f502e7..efd0495448 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -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, ) -- 2.39.5