From: Alfredo Deza Date: Thu, 26 Oct 2017 11:48:24 +0000 (-0400) Subject: ceph-volume lvm.activate ceph-bluestore-tool needs --cluster too X-Git-Tag: v12.2.2~83^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=869d13037dbb2b8882c4a4a91ec20c9814bcc438;p=ceph.git ceph-volume lvm.activate ceph-bluestore-tool needs --cluster too Signed-off-by: Alfredo Deza (cherry picked from commit fb36087bc3c7e7bb8358cbf8ad84409fa23fac68) --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/activate.py b/src/ceph-volume/ceph_volume/devices/lvm/activate.py index 63dd8be0e6c8..ceb5c93e9b19 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/activate.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/activate.py @@ -99,7 +99,7 @@ def activate_bluestore(lvs): # gone, so it needs to be 'primed' again. The command would otherwise # fail if the directory was already populated process.run([ - 'sudo', 'ceph-bluestore-tool', + 'sudo', 'ceph-bluestore-tool', '--cluster=%s' % conf.cluster, 'prime-osd-dir', '--dev', osd_lv.lv_path, '--path', osd_path]) # always re-do the symlink regardless if it exists, so that the block,