Allow journal >= 0.48.3
This commit is contained in:
parent
4ffb232bd8
commit
bd60ddebea
10
config.yaml
10
config.yaml
@ -13,18 +13,18 @@ options:
|
||||
The device to use as a shared journal drive for all OSD's. By default
|
||||
no journal device will be used.
|
||||
.
|
||||
Only supported with ceph >= 0.55.
|
||||
Only supported with ceph >= 0.48.3.
|
||||
osd-format:
|
||||
type: string
|
||||
default: xfs
|
||||
description: |
|
||||
Format of filesystem to use for OSD devices; supported formats include:
|
||||
.
|
||||
xfs (Default >= 0.55)
|
||||
ext4 (Only option < 0.55)
|
||||
btrfs (experimental and not recommended)
|
||||
xfs (Default >= 0.48.3)
|
||||
ext4 (Only option < 0.48.3)
|
||||
btrfs (experimental and not recommended)
|
||||
.
|
||||
Only supported with ceph >= 0.55.
|
||||
Only supported with ceph >= 0.48.3.
|
||||
osd-reformat:
|
||||
type: string
|
||||
description: |
|
||||
|
@ -140,7 +140,7 @@ def osdize(dev):
|
||||
|
||||
cmd = ['ceph-disk-prepare']
|
||||
# Later versions of ceph support more options
|
||||
if ceph.get_ceph_version() >= "0.55":
|
||||
if ceph.get_ceph_version() >= "0.48.3":
|
||||
osd_format = utils.config_get('osd-format')
|
||||
if osd_format:
|
||||
cmd.append('--fs-type')
|
||||
|
Loading…
Reference in New Issue
Block a user