Skip to content

Commit

Permalink
Fix: #895
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Sep 2, 2019
1 parent 8a1f53b commit b5aaa65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion IM/connectors/OCCI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,8 @@ def add_new_disks(self, vm, radl, auth_data, auth_header):
disk_device = "vd" + disk_device[-1]
system.setValue("disk." + str(cont) + ".device", disk_device)
self.log_info("Creating a %d GB volume for the disk %d" % (int(disk_size), cont))
success, volume_id = self.create_volume(int(disk_size), "im-disk-%d" % cont, auth_data, auth_header)
storage_name = "im-disk-%s" % str(uuid.uuid1())
success, volume_id = self.create_volume(int(disk_size), storage_name, auth_data, auth_header)

if success:
self.log_info("Volume id %s successfuly created." % volume_id)
Expand Down

0 comments on commit b5aaa65

Please sign in to comment.