From 2d4ed95f2b24b7b97874b60932430d95ad6f4b43 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Tue, 10 Jan 2017 15:43:12 -0800 Subject: [PATCH] use the create option during instantiation Signed-off-by: Vasu Kulkarni --- qa/tasks/ceph_deploy.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index 5cde20404be3d..44fb6c1941559 100644 --- a/qa/tasks/ceph_deploy.py +++ b/qa/tasks/ceph_deploy.py @@ -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") -- 2.39.5