diff --git a/nova/volume/cinder.py b/nova/volume/cinder.py index 1aa7dcd2b6..ed6b3cd59f 100644 --- a/nova/volume/cinder.py +++ b/nova/volume/cinder.py @@ -149,7 +149,7 @@ class API(base.Base): cinderclient(context).volumes.reserve(volume['id']) def unreserve_volume(self, context, volume): - cinderclient(context).volumes.reserve(volume['id']) + cinderclient(context).volumes.unreserve(volume['id']) def attach(self, context, volume, instance_uuid, mountpoint): cinderclient(context).volumes.attach(volume['id'],