https://github.com/openstack/cinder/commit/
51a438c8f3f0d13c6779602264d72cde82feab9c
Introduced UUID's for volume_type ID and also changed delete to use ID
instead of name.
That changed neglected to update the call in contrib/types_manage,
this patch fixes that.
Fixes bug
1087161
Change-Id: I839228cd656afaf68caedfe673f9191488ccc397
try:
vol_type = volume_types.get_volume_type(context, id)
- volume_types.destroy(context, vol_type['name'])
+ volume_types.destroy(context, vol_type['id'])
except exception.NotFound:
raise webob.exc.HTTPNotFound()