Commit a2898f91 authored by Felix Seibert's avatar Felix Seibert
Browse files

fix

parent 24c1a179
......@@ -167,14 +167,13 @@ class OSDManager(object):
if fix_layout_internally:
self.fix_physical_layout_internally()
else:
print("environment in create_from_existing: " + str(environment))
if environment == 'SLURM':
osd_list = self.distribution.get_osd_list()
osd_to_folders_map = {}
all_folders = []
for osd in osd_list:
osd_to_folders_map[osd] = []
for osds_folder in osd.folders:
for osds_folder in self.distribution.OSDs[osd].folders:
all_folders.append(osds_folder)
for input_folder in all_folders:
osd_for_tile = self.distribution.get_containing_osd(input_folder.id).uuid
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment