From 80698d2309a221d2318b11be9b8f8a95b51416ea Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 25 Oct 2017 15:30:06 -0400 Subject: [PATCH] ceph-volume lvm.prepare bluestore wal and db links get created with mkfs Signed-off-by: Alfredo Deza --- src/ceph-volume/ceph_volume/devices/lvm/prepare.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py index faf2bc893a0..dbee100ff39 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