Skip to content

Commit

Permalink
Fix migrate MDS pools logic for metadata name flag
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Wolf <[email protected]>
  • Loading branch information
NotTheEvilOne committed Nov 28, 2024
1 parent 5563889 commit cd853f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rookify/modules/migrate_mds_pools/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def preflight(self) -> None:
for mds_fs_data in state_data["fs"]["ls"]:
if not (
are_custom_metadata_pool_names_supported
and mds_fs_data["metadata_pool"].endswith("-metadata")
or mds_fs_data["metadata_pool"].endswith("-metadata")
):
self.logger.warn(
"ceph-mds filesystem '{0}' uses an incompatible pool metadata name '{1}' and can not be migrated to Rook automatically".format(
Expand Down

0 comments on commit cd853f3

Please sign in to comment.