From 722d79d16a0da042bbc189709efd3eeff1366558 Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Mon, 4 Jun 2018 13:21:12 +0200 Subject: [PATCH] ceph-volume lvm.activate Do not search for a MON configuration This system might not have one nor can we be sure that we have a client.admin keyring on the system. Just prime the directory and have the OSD then use it's own cephx key to communicate with the MONs. Signed-off-by: Wido den Hollander --- 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 37ec6fb7267..4e4e65697a3 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/activate.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/activate.py @@ -151,7 +151,7 @@ def activate_bluestore(lvs, no_systemd=False): process.run([ 'ceph-bluestore-tool', '--cluster=%s' % conf.cluster, 'prime-osd-dir', '--dev', osd_lv_path, - '--path', osd_path]) + '--path', osd_path, '--no-mon-config']) # always re-do the symlink regardless if it exists, so that the block, # block.wal, and block.db devices that may have changed can be mapped # correctly every time -- 2.47.3