From fb36087bc3c7e7bb8358cbf8ad84409fa23fac68 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 26 Oct 2017 07:48:24 -0400 Subject: [PATCH] ceph-volume lvm.activate ceph-bluestore-tool needs --cluster too Signed-off-by: Alfredo Deza --- src/ceph-volume/ceph_volume/devices/lvm/activate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/activate.py b/src/ceph-volume/ceph_volume/devices/lvm/activate.py index 63dd8be0e6c85..ceb5c93e9b19b 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, -- 2.39.5