From: Wido den Hollander Date: Mon, 4 Jun 2018 11:21:12 +0000 (+0200) Subject: ceph-volume lvm.activate Do not search for a MON configuration X-Git-Tag: v13.2.1~139^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5be4046662a17fcb9d04156ca8adfc307cba62f1;p=ceph.git 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 (cherry picked from commit 722d79d16a0da042bbc189709efd3eeff1366558) --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/activate.py b/src/ceph-volume/ceph_volume/devices/lvm/activate.py index 37ec6fb7267a..4e4e65697a35 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