]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: pass journal_size as Size not string 33334/head
authorJan Fajerski <jfajerski@suse.com>
Fri, 14 Feb 2020 11:50:47 +0000 (12:50 +0100)
committerJan Fajerski <jfajerski@suse.com>
Fri, 14 Feb 2020 15:43:18 +0000 (16:43 +0100)
Fixes: https://tracker.ceph.com/issues/44148
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 49f6e6d600aae6310f941c6635408d496b0ff2b9)

src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py

index 95b8f841b2ff5d42d4f53168fd1f2af10184ce62..0c9ff31fb9aacb6b25f261573dbd60725981858f 100644 (file)
@@ -352,7 +352,7 @@ class MixedType(MixedStrategy):
         else:
             journal_vg = self.common_vg
 
-        journal_size = prepare.get_journal_size(lv_format=True)
+        journal_size = prepare.get_journal_size(lv_format=False)
 
         # create 1 vg per data device first, mapping them to the device path,
         # when the lv gets created later, it can create as many as needed (or