- mds remove_data_pool -> fs rm_data_pool
- mds rm_data_pool -> fs rm_data_pool
-
+ * New CephFS file system attributes session_timeout and session_autoclose
+ are configurable via `ceph fs set`. The MDS config options
+ mds_session_timeout, mds_session_autoclose, and mds_max_file_size are now
+ obsolete.
+
+ * The JSON format of `ceph fs status` and `ceph mds stat` has changed
+ for the "up" and "info" sections of the mds_map.
>= 12.2.2
---------
log.info("evict clients with {0}".format(', '.join(client_spec)))
- mds_map = get_mds_map()
+ mds_map = self.get_mds_map()
up = {}
- for name, gid in mds_map['up'].items():
- # Quirk of the MDSMap JSON dump: keys in the up dict are like "mds_0"
- assert name.startswith("mds_")
- up[int(name[4:])] = gid
+ for rank in mds_map['up']:
+ up[rank] = self._get_info('rank', rank)['gid']
# For all MDS ranks held by a daemon
# Do the parallelism in python instead of using "tell mds.*", because