]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume lvm.prepare bluestore wal and db links get created with mkfs
authorAlfredo Deza <adeza@redhat.com>
Wed, 25 Oct 2017 19:30:06 +0000 (15:30 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 25 Oct 2017 19:30:06 +0000 (15:30 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/prepare.py

index faf2bc893a0daed6b26ebf209533cce071cf3a63..dbee100ff39fa166e46f378efe53b554e0920390 100644 (file)
@@ -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