From d245f2ca415b7cfdbce1b84919586038dffd22dc Mon Sep 17 00:00:00 2001 From: Chris MacNaughton Date: Mon, 14 Aug 2017 15:23:18 +0200 Subject: [PATCH] explicitly select filestore after default change In Luminous, Ceph changes the default OSD store to bluestore so we want to change this to handle the change by making the OSD store explicit Change-Id: I2f89f47458b432fe54d9be943481845135fc8e69 --- ceph/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ceph/utils.py b/ceph/utils.py index b96dabb..02922d4 100644 --- a/ceph/utils.py +++ b/ceph/utils.py @@ -1405,6 +1405,8 @@ def osdize_dev(dev, osd_format, osd_journal, reformat_osd=False, # NOTE(jamespage): enable experimental bluestore support if cmp_pkgrevno('ceph', '10.2.0') >= 0 and bluestore: cmd.append('--bluestore') + elif cmp_pkgrevno('ceph', '12.1.0') >= 0 and not bluestore: + cmd.append('--filestore') cmd.append(dev)