Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit cd853f3

Browse files
committed
Fix migrate MDS pools logic for metadata name flag
Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
1 parent 5563889 commit cd853f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/rookify/modules/migrate_mds_pools

src/rookify/modules/migrate_mds_pools/main.py

Lines changed: 1 addition & 1 deletion
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)