mirror of
https://github.com/ceph/ceph
synced 2025-01-28 05:53:37 +00:00
use the create option during instantiation
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
This commit is contained in:
parent
ebb02c8ef5
commit
2d4ed95f2b
@ -403,9 +403,7 @@ def build_ceph_cluster(ctx, config):
|
||||
|
||||
if mds_nodes:
|
||||
log.info('Configuring CephFS...')
|
||||
ceph_fs = Filesystem(ctx)
|
||||
if not ceph_fs.legacy_configured():
|
||||
ceph_fs.create()
|
||||
ceph_fs = Filesystem(ctx, create=True)
|
||||
elif not config.get('only_mon'):
|
||||
raise RuntimeError(
|
||||
"The cluster is NOT operational due to insufficient OSDs")
|
||||
|
Loading…
Reference in New Issue
Block a user