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:
Srinivas Sakhamuri 2016-01-26 17:50:37 -07:00
parent 7bc469f4d2
commit 4c7ab892ee

View File

@ -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`"))