Skip to content

Commit e52b8dc

Browse files
committed
src/cephadm: Added rgw for listing in Daemons
Fixes: https://tracker.ceph.com/issues/46991 Signed-off-by: Suyash Dongre <[email protected]>
1 parent 1f34c27 commit e52b8dc

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
@@ -3949,7 +3949,7 @@ def _daemon_ls_subset(self) -> Dict[str, Dict[str, Any]]:
39493949
)
39503950
name_id_mapping: Dict[str, str] = self._parse_container_id_name(code, out)
39513951
for i in os.listdir(data_dir):
3952-
if i in ['mon', 'osd', 'mds', 'mgr']:
3952+
if i in ['mon', 'osd', 'mds', 'mgr', 'rgw']:
39533953
daemon_type = i
39543954
for j in os.listdir(os.path.join(data_dir, i)):
39553955
if '-' not in j:
@@ -5813,7 +5813,7 @@ def list_daemons(ctx, detail=True, legacy_dir=None):
58135813
# /var/lib/ceph
58145814
if os.path.exists(data_dir):
58155815
for i in os.listdir(data_dir):
5816-
if i in ['mon', 'osd', 'mds', 'mgr']:
5816+
if i in ['mon', 'osd', 'mds', 'mgr', 'rgw']:
58175817
daemon_type = i
58185818
for j in os.listdir(os.path.join(data_dir, i)):
58195819
if '-' not in j:

0 commit comments

Comments
 (0)