Skip to content

Commit

Permalink
revert back disk from scsi to wwn (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebattat authored Oct 16, 2023
1 parent 867e5ea commit 740487d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark_runner/common/ocp_resources/create_odf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def create_odf(self):
result_dict = {}
for node, disk_ids in self.__worker_disk_ids.items():
for disk_id in disk_ids:
node_sgdisk += f'sgdisk --zap-all /dev/disk/by-id/wwn-0x{disk_id}; wipefs -a /dev/disk/by-id/wwn-0x{disk_id};'
node_sgdisk += f'sgdisk --zap-all /dev/disk/by-id/{self.__worker_disk_prefix}{disk_id}; wipefs -a /dev/disk/by-id/{self.__worker_disk_prefix}{disk_id};'
result_dict[node] = node_sgdisk
node_sgdisk = ''
self.__oc.run(cmd=f'chmod +x {os.path.join(self.__path, resource)}; {self.__path}/./{resource} "{list(result_dict.keys())[0]}" "{list(result_dict.values())[0]}" "{list(result_dict.keys())[1]}" "{list(result_dict.values())[1]}" "{list(result_dict.keys())[2]}" "{list(result_dict.values())[2]}"')
Expand Down

0 comments on commit 740487d

Please sign in to comment.