From: Alfredo Deza Date: Fri, 8 Jun 2018 12:57:54 +0000 (-0400) Subject: ceph-volume lvm.activate chown bluestore symlinks X-Git-Tag: v14.0.1~1157^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2a0911d04cc1eeb19ea2e1d6069095f9e2af26fe;p=ceph.git ceph-volume lvm.activate chown bluestore symlinks Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/activate.py b/src/ceph-volume/ceph_volume/devices/lvm/activate.py index 4e4e65697a35..adebe2f4fa91 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