]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
use the create option during instantiation 12969/head
authorVasu Kulkarni <vasu@redhat.com>
Tue, 10 Jan 2017 23:43:12 +0000 (15:43 -0800)
committerVasu Kulkarni <vasu@redhat.com>
Tue, 17 Jan 2017 21:55:25 +0000 (13:55 -0800)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/tasks/ceph_deploy.py

index 5cde20404be3d3714e1014cddf80efdafe86c3e9..44fb6c19415595f0a17e517af0d625f1b894bee9 100644 (file)
@@ -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")