Skip to content

Commit

Permalink
qa: force creation of fs with EC default data pool
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
batrick committed Dec 20, 2019
1 parent bf0cf8e commit 6e448f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qa/tasks/cephfs/filesystem.py
Expand Up @@ -585,7 +585,10 @@ def create(self):
'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.
Expand Down

0 comments on commit 6e448f9

Please sign in to comment.