]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
use the create option during instantiation
authorVasu Kulkarni <vasu@redhat.com>
Tue, 10 Jan 2017 23:43:12 +0000 (15:43 -0800)
committerYuri Weinstein <yweinste@redhat.com>
Wed, 18 Jan 2017 17:32:11 +0000 (17:32 +0000)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
(cherry picked from commit be836bb30960000468c79e08fb416ceefd79d7db)

qa/tasks/ceph_deploy.py

index 5919e6f4176eaa84296179519381dd2dae0665b7..6eb7517d9d104cc905774642238620677530ab16 100644 (file)
@@ -373,9 +373,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")