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
This commit is contained in:
Chris MacNaughton 2017-08-14 15:23:18 +02:00
parent dd978b7bd0
commit d245f2ca41
1 changed files with 2 additions and 0 deletions

View File

@ -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)