From: Alfredo Deza Date: Wed, 25 Oct 2017 19:30:06 +0000 (-0400) Subject: ceph-volume lvm.prepare bluestore wal and db links get created with mkfs X-Git-Tag: v13.0.1~394^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=80698d2309a221d2318b11be9b8f8a95b51416ea;p=ceph.git ceph-volume lvm.prepare bluestore wal and db links get created with mkfs Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py index faf2bc893a0d..dbee100ff39f 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py @@ -58,12 +58,8 @@ def prepare_bluestore(block, wal, db, secrets, id_=None, fsid=None): osd_id = id_ or prepare_utils.create_id(fsid, json_secrets) # create the directory prepare_utils.create_osd_path(osd_id, tmpfs=True) - # symlink the block, wal, and db + # symlink the block prepare_utils.link_block(block, osd_id) - if wal: - prepare_utils.link_wal(wal, osd_id) - if db: - prepare_utils.link_db(db, osd_id) # get the latest monmap prepare_utils.get_monmap(osd_id) # write the OSD keyring if it doesn't exist already