From 3a02868be40f3431d2bfedf16737b37ebf1a7e89 Mon Sep 17 00:00:00 2001 From: Vasu Kulkarni Date: Thu, 26 Jan 2017 13:21:30 -0800 Subject: [PATCH] Revert "use the create option during instantiation" jewel cephfs still uses old Filesystem initializtion method Signed-off-by: Vasu Kulkarni --- qa/tasks/ceph_deploy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index 382120f4de75d..315de122217c7 100644 --- a/qa/tasks/ceph_deploy.py +++ b/qa/tasks/ceph_deploy.py @@ -370,7 +370,9 @@ def build_ceph_cluster(ctx, config): if mds_nodes: log.info('Configuring CephFS...') - ceph_fs = Filesystem(ctx, create=True) + ceph_fs = Filesystem(ctx) + if not ceph_fs.legacy_configured(): + ceph_fs.create() elif not config.get('only_mon'): raise RuntimeError( "The cluster is NOT operational due to insufficient OSDs") -- 2.39.5