Skip to content

Commit a1a2252

Browse files
authored
Merge pull request ceph#54679 from Suyashd999/add-rgw
src/cephadm: Added rgw for listing in Daemons Reviewed-by: Adam King <[email protected]>
2 parents 4b7bfda + e52b8dc commit a1a2252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cephadm/cephadm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3870,7 +3870,7 @@ def _daemon_ls_subset(self) -> Dict[str, Dict[str, Any]]:
38703870
)
38713871
name_id_mapping: Dict[str, str] = self._parse_container_id_name(code, out)
38723872
for i in os.listdir(data_dir):
3873-
if i in ['mon', 'osd', 'mds', 'mgr']:
3873+
if i in ['mon', 'osd', 'mds', 'mgr', 'rgw']:
38743874
daemon_type = i
38753875
for j in os.listdir(os.path.join(data_dir, i)):
38763876
if '-' not in j:
@@ -5734,7 +5734,7 @@ def list_daemons(ctx, detail=True, legacy_dir=None):
57345734
# /var/lib/ceph
57355735
if os.path.exists(data_dir):
57365736
for i in os.listdir(data_dir):
5737-
if i in ['mon', 'osd', 'mds', 'mgr']:
5737+
if i in ['mon', 'osd', 'mds', 'mgr', 'rgw']:
57385738
daemon_type = i
57395739
for j in os.listdir(os.path.join(data_dir, i)):
57405740
if '-' not in j:

0 commit comments

Comments
 (0)