mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
Add option to specify bluestore/filestore options
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
This commit is contained in:
parent
d52763c2cc
commit
2fa0fae72f
@ -329,6 +329,11 @@ def build_ceph_cluster(ctx, config):
|
||||
if estatus != 0:
|
||||
raise RuntimeError("ceph-deploy: Failed to zap osds")
|
||||
osd_create_cmd = './ceph-deploy osd create '
|
||||
# first check for filestore, default is bluestore with ceph-deploy
|
||||
if config.get('filestore') is not None:
|
||||
osd_create_cmd += '--filestore '
|
||||
else:
|
||||
osd_create_cmd += '--bluestore '
|
||||
if config.get('dmcrypt') is not None:
|
||||
osd_create_cmd += '--dmcrypt '
|
||||
osd_create_cmd += ":".join(d)
|
||||
@ -689,6 +694,10 @@ def task(ctx, config):
|
||||
mon_initial_members: 1
|
||||
only_mon: true
|
||||
keep_running: true
|
||||
# either choose bluestore or filestore, default is bluestore
|
||||
bluestore: True
|
||||
# or
|
||||
filestore: True
|
||||
|
||||
tasks:
|
||||
- install:
|
||||
|
Loading…
Reference in New Issue
Block a user