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

Commit 94a029c

Browse files
committed
Return representive state data for module migrate_rgws
Signed-off-by: Tobias Wolf <[email protected]>
1 parent 88cbc34 commit 94a029c

File tree

1 file changed

+6
-1
lines changed
  • src/rookify/modules/migrate_rgws

1 file changed

+6
-1
lines changed

src/rookify/modules/migrate_rgws/main.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22

33
from time import sleep
4-
from typing import Any, List
4+
from typing import Any, Dict, List
55
from ..exception import ModuleException
66
from ..machine import Machine
77
from ..module import ModuleHandler
@@ -133,6 +133,11 @@ def _migrate_rgw(self, rgw_host: str) -> None:
133133
"Rook based RGW daemon for node '{0}' available".format(rgw_host)
134134
)
135135

136+
def get_readable_key_value_state(self) -> Dict[str, str]:
137+
return {
138+
"ceph RGW hosts": self._get_readable_json_dump(self._get_rgw_daemon_hosts())
139+
}
140+
136141
@staticmethod
137142
def register_execution_state(
138143
machine: Machine, state_name: str, handler: ModuleHandler, **kwargs: Any

0 commit comments

Comments
 (0)