]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "use the create option during instantiation" 13106/head
authorVasu Kulkarni <vasu@redhat.com>
Thu, 26 Jan 2017 21:21:30 +0000 (13:21 -0800)
committerVasu Kulkarni <vasu@redhat.com>
Mon, 30 Jan 2017 22:13:10 +0000 (14:13 -0800)
jewel cephfs still uses old Filesystem initializtion method

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/tasks/ceph_deploy.py

index 382120f4de75d9cbfe571dd2532c46e3d1399adc..315de122217c7ffa772611e5bc1c5631d5801ec3 100644 (file)
@@ -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")