if self.REQUIRE_RECOVERY_FILESYSTEM:
if not self.REQUIRE_FILESYSTEM:
self.skipTest("Recovery filesystem requires a primary filesystem as well")
+ # After Octopus is EOL, we can remove this setting:
self.fs.mon_manager.raw_cluster_cmd('fs', 'flag', 'set',
'enable_multiple', 'true',
'--yes-i-really-mean-it')
def is_full(self):
return self.is_pool_full(self.get_data_pool_name())
- def enable_multifs(self):
- self.mon_manager.raw_cluster_cmd('fs', 'flag', 'set',
- 'enable_multiple', 'true', '--yes-i-really-mean-it')
-
def authorize(self, client_id, caps=('/', 'rw')):
"""
Run "ceph fs authorize" and run "ceph auth get" to get and returnt the
"""
That a vanilla standby is preferred over others with mds_join_fs set to another fs.
"""
+ # After Octopus is EOL, we can remove this setting:
self.fs.set_allow_multifs()
fs2 = self.mds_cluster.newfs(name="cephfs2")
status, target = self._verify_init()
standbys = [info['name'] for info in status.get_standbys()]
for mds in standbys:
self.config_set('mds.'+mds, 'mds_join_fs', 'cephfs2')
+ # After Octopus is EOL, we can remove this setting:
self.fs.set_allow_multifs()
fs2 = self.mds_cluster.newfs(name="cephfs2")
for mds in standbys:
self.run_cluster_cmd(f'auth rm {self.client_name}')
self.fs1 = self.fs
- self.fs1.enable_multifs()
+ # After Octopus is EOL, we can remove this setting:
+ self.fs1.set_allow_multifs()
self.fs2 = self.mds_cluster.newfs(name='cephfs2', create=True)
# we'll reassign caps to client.1 so that it can operate with cephfs2