Default cinder to v2
Name field for create_volume is redundant since it is taken care in the wrapper Change-Id: I3d9a4f018fd1c1d2cd916dc846707220b3c65d02
This commit is contained in:
parent
7bc469f4d2
commit
4c7ab892ee
@ -61,8 +61,7 @@ class VolumeGenerator(context.Context):
|
||||
{"user": user,
|
||||
"task": self.context["task"]})
|
||||
for i in range(volumes_per_tenant):
|
||||
rnd_name = self.generate_random_name()
|
||||
vol = cinder_util._create_volume(size, display_name=rnd_name)
|
||||
vol = cinder_util._create_volume(size)
|
||||
self.context["tenants"][tenant_id]["volumes"].append(vol._info)
|
||||
|
||||
@logging.log_task_wrapper(LOG.info, _("Exit context: `Volumes`"))
|
||||
|
Loading…
Reference in New Issue
Block a user