From aea316e6745d917f9bc2826e52c6ceaf315ce7c9 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 8 Jun 2018 08:57:54 -0400 Subject: [PATCH] ceph-volume lvm.activate chown bluestore symlinks Signed-off-by: Alfredo Deza (cherry picked from commit 2a0911d04cc1eeb19ea2e1d6069095f9e2af26fe) --- src/ceph-volume/ceph_volume/devices/lvm/activate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/activate.py b/src/ceph-volume/ceph_volume/devices/lvm/activate.py index 37ec6fb7267aa..5e9376e5dde48 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/activate.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/activate.py @@ -162,10 +162,12 @@ def activate_bluestore(lvs, no_systemd=False): destination = os.path.join(osd_path, 'block.db') process.run(['ln', '-snf', db_device_path, destination]) system.chown(db_device_path) + system.chown(destination) if wal_device_path: destination = os.path.join(osd_path, 'block.wal') process.run(['ln', '-snf', wal_device_path, destination]) system.chown(wal_device_path) + system.chown(destination) if no_systemd is False: # enable the ceph-volume unit for this OSD -- 2.39.5