]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: enable multi fs flag
authorJohn Spray <john.spray@redhat.com>
Thu, 18 Feb 2016 14:10:30 +0000 (14:10 +0000)
committerJohn Spray <john.spray@redhat.com>
Fri, 11 Mar 2016 10:40:12 +0000 (10:40 +0000)
Cluster won't let you create more than without
setting this flag explicitly.

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/cephfs/test_failover.py

index 7075e2fced07a04f1377f70c378ba57c61e27f6a..8265c2d7f8b24d8b6ca7304f3d0e7eb295983128 100644 (file)
@@ -157,6 +157,11 @@ class TestMultiFilesystems(CephFSTestCase):
     # We'll create our own filesystems and start our own daemons
     REQUIRE_FILESYSTEM = False
 
+    def setUp(self):
+        super(TestMultiFilesystems, self).setUp()
+        self.fs.mon_manager.raw_cluster_cmd("fs", "flag", "set",
+                                            "enable_multiple", "true")
+
     def _setup_two(self):
         fs_a = self.mds_cluster.get_filesystem("alpha")
         fs_b = self.mds_cluster.get_filesystem("bravo")