Skip to content

Commit cd853f3

Browse files
committed
Fix migrate MDS pools logic for metadata name flag
Signed-off-by: Tobias Wolf <[email protected]>
1 parent 5563889 commit cd853f3

File tree

1 file changed

+1
-1
lines changed
  • src/rookify/modules/migrate_mds_pools

1 file changed

+1
-1
lines changed

src/rookify/modules/migrate_mds_pools/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def preflight(self) -> None:
2727
for mds_fs_data in state_data["fs"]["ls"]:
2828
if not (
2929
are_custom_metadata_pool_names_supported
30-
and mds_fs_data["metadata_pool"].endswith("-metadata")
30+
or mds_fs_data["metadata_pool"].endswith("-metadata")
3131
):
3232
self.logger.warn(
3333
"ceph-mds filesystem '{0}' uses an incompatible pool metadata name '{1}' and can not be migrated to Rook automatically".format(

0 commit comments

Comments
 (0)