]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume lvm.prepare update to use create_osd_path 18514/head
authorAlfredo Deza <adeza@redhat.com>
Tue, 24 Oct 2017 17:29:18 +0000 (13:29 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 24 Oct 2017 17:29:18 +0000 (13:29 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/prepare.py

index 563f63f79c1b54587a94ab9a6a5f62cc73f584b0..ce7a6dea5be30bf1a0787f5988161bf06096dc80 100644 (file)
@@ -25,7 +25,7 @@ def prepare_filestore(device, journal, secrets, id_=None, fsid=None):
     # allow re-using an id, in case a prepare failed
     osd_id = id_ or prepare_utils.create_id(fsid, json_secrets)
     # create the directory
-    prepare_utils.create_path(osd_id)
+    prepare_utils.create_osd_path(osd_id)
     # format the device
     prepare_utils.format_device(device)
     # mount the data device