From: Boris Ranto Date: Thu, 16 Feb 2017 10:34:27 +0000 (+0100) Subject: ceph-disk: Add more fix targets X-Git-Tag: v12.0.2~189^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ae139307d6b2bfba47e21d29d6dbd3c8dc01b5b5;p=ceph.git ceph-disk: Add more fix targets It turns out I forgot several more directories that needs to be fixed by this script. We need to fix /var/log/ceph, /var/run/ceph and /etc/ceph as well. Signed-off-by: Boris Ranto --- diff --git a/src/ceph-disk/ceph_disk/main.py b/src/ceph-disk/ceph_disk/main.py index 2352e3d356cc..95f896a1cfdb 100755 --- a/src/ceph-disk/ceph_disk/main.py +++ b/src/ceph-disk/ceph_disk/main.py @@ -4728,6 +4728,9 @@ def main_trigger(args): def main_fix(args): # A hash table containing 'path': ('uid', 'gid', blocking, recursive) fix_table = [ + ('/etc/ceph', 'ceph', 'ceph', True, True), + ('/var/run/ceph', 'ceph', 'ceph', True, True), + ('/var/log/ceph', 'ceph', 'ceph', True, True), ('/var/lib/ceph', 'ceph', 'ceph', True, False), ]