]> 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>
Wed, 10 May 2017 16:03:01 +0000 (18:03 +0200)
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>
(cherry picked from commit ae139307d6b2bfba47e21d29d6dbd3c8dc01b5b5)

src/ceph-disk/ceph_disk/main.py

index 9c396645d69d90852c9d23638791cb380e232b1c..d2f52a3552cb4cc0b9d8c45daf2ae4dba7de7f8e 100755 (executable)
@@ -4686,6 +4686,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),
     ]