)
name_id_mapping: Dict[str, str] = self._parse_container_id_name(code, out)
for i in os.listdir(data_dir):
- if i in ['mon', 'osd', 'mds', 'mgr']:
+ if i in ['mon', 'osd', 'mds', 'mgr', 'rgw']:
daemon_type = i
for j in os.listdir(os.path.join(data_dir, i)):
if '-' not in j:
# /var/lib/ceph
if os.path.exists(data_dir):
for i in os.listdir(data_dir):
- if i in ['mon', 'osd', 'mds', 'mgr']:
+ if i in ['mon', 'osd', 'mds', 'mgr', 'rgw']:
daemon_type = i
for j in os.listdir(os.path.join(data_dir, i)):
if '-' not in j: