Commit 73f7b18b authored by Felix Seibert's avatar Felix Seibert
Browse files

fix

parent 29dafbd1
......@@ -176,7 +176,6 @@ class OSDManager(object):
for osds_folder in self.distribution.OSDs[osd].folders:
all_folders.append(osds_folder)
for input_folder in all_folders:
print("input_folder: " + str(input_folder))
osd_for_tile = self.distribution.get_containing_osd(input_folder).uuid
osd_to_folders_map[osd_for_tile].append(input_folder)
......@@ -482,8 +481,8 @@ class OSDManager(object):
host_name = osd_to_host_map[key]
command = ""
for move_folder in osd_to_folders_map[key]:
folder_path = os.path.join(self.pathToMountPoint, move_folder.folder_id)
folder_tmp_path = os.path.join(tmp_dir, move_folder.folder_id)
folder_path = os.path.join(self.pathToMountPoint, move_folder)
folder_tmp_path = os.path.join(tmp_dir, move_folder)
# copy folder to temporary location
command += "srun -N1-1 --nodelist=" + host_name
command += " cp -r " + folder_path + " " + tmp_dir + " ; "
......
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