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