]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: force creation of fs with EC default data pool 32600/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 20 Dec 2019 20:57:31 +0000 (12:57 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 5 Feb 2020 01:52:21 +0000 (17:52 -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>
(cherry picked from commit 6e448f9aa0e71f1e820f4bd1b53e067268e4b67a)

qa/tasks/cephfs/filesystem.py

index ca153ed4a2a818664e8118510042f4ff4421ccc6..3cdcee054b64eab1bb5f9259f6be82ba1a0ed67e 100644 (file)
@@ -563,7 +563,10 @@ class Filesystem(MDSCluster):
                     'osd', 'pool', 'create',
                     data_pool_name, 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.