]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: force creation of fs with EC default data pool 31494/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 20 Dec 2019 20:57:31 +0000 (12:57 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 20 Dec 2019 20:57:31 +0000 (12:57 -0800)
In the future, we should add the EC data pool as a supplementary data
pool but that requires a mount to setup which is awkward in the code
here. When cephfs-shell is more widely available, this will be easier.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/filesystem.py

index 96f770a35db4f0f8e4a9f2bd612ba623daa71a6e..4f981c1c3571b2c3882ede61cbfa8c6bc48c0bd5 100644 (file)
@@ -585,7 +585,10 @@ class Filesystem(MDSCluster):
                     'osd', 'pool', 'create',
                     data_pool_name, self.pgs_per_fs_pool.__str__())
             self.mon_manager.raw_cluster_cmd('fs', 'new',
-                                             self.name, self.metadata_pool_name, data_pool_name)
+                                             self.name,
+                                             self.metadata_pool_name,
+                                             data_pool_name,
+                                             "--force")
         self.check_pool_application(self.metadata_pool_name)
         self.check_pool_application(data_pool_name)
         # Turn off spurious standby count warnings from modifying max_mds in tests.