Commit 222fcbfb authored by Felix Seibert's avatar Felix Seibert
Browse files

using osds' uuids for the command generation

parent 99dc3005
......@@ -205,8 +205,8 @@ class OSDManager(object):
# if no replication is used (otherwise than for moving the files from osd to osd),
# we should reset the replication policy to none
policy_command = div_util.create_replication_policy_command(absolute_file_path)
create_command = div_util.create_create_replica_command(absolute_file_path, osd_for_file)
delete_command = div_util.create_delete_replica_command(absolute_file_path, osd_of_file)
create_command = div_util.create_create_replica_command(absolute_file_path, osd_for_file.uuid)
delete_command = div_util.create_delete_replica_command(absolute_file_path, osd_of_file.uuid)
change_policy_command_list.append(div_util.command_list_to_single_string(policy_command))
create_replica_command_list.append(div_util.command_list_to_single_string(create_command))
......
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