]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: Add more fix targets
authorBoris Ranto <branto@redhat.com>
Thu, 16 Feb 2017 10:34:27 +0000 (11:34 +0100)
committerBoris Ranto <branto@redhat.com>
Mon, 20 Mar 2017 08:57:18 +0000 (09:57 +0100)
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 <branto@redhat.com>
src/ceph-disk/ceph_disk/main.py

index 2352e3d356cc7db2073286bff111bf5ce9ac0ebf..95f896a1cfdb7c7d83db6779189312468af221d3 100755 (executable)
@@ -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),
     ]