Skip to content

Commit

Permalink
Correctly store OSD pools migrated
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Wolf <[email protected]>
  • Loading branch information
NotTheEvilOne committed Sep 3, 2024
1 parent d1b4687 commit 2db446b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rookify/modules/migrate_osd_pools/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ def _migrate_pool(self, pool: Dict[str, Any]) -> None:
self.k8s.crd_api_apply(pool_definition.yaml)
migrated_pools.append(pool["pool_name"])

self.machine.get_execution_state(
"MigrateOSDPoolsHandler"
).migrated_pools = migrated_pools

self.logger.info("Migrated Ceph OSD pool '{0}'".format(pool["pool_name"]))

@staticmethod
Expand Down

0 comments on commit 2db446b

Please sign in to comment.