From 23866324fbb83a90c08f86c9652bbaa11d7a2cc3 Mon Sep 17 00:00:00 2001 From: Jan Fajerski Date: Fri, 14 Feb 2020 12:50:47 +0100 Subject: [PATCH] ceph-volume: pass journal_size as Size not string Fixes: https://tracker.ceph.com/issues/44148 Signed-off-by: Jan Fajerski (cherry picked from commit 49f6e6d600aae6310f941c6635408d496b0ff2b9) --- src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py b/src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py index 95b8f841b2ff5..0c9ff31fb9aac 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py @@ -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 -- 2.39.5