From ccc2f23404afa5e69d3dbafb9e603b48b12d5cbc Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Thu, 9 Aug 2012 01:12:43 +0800 Subject: Fix a bug on remove_volume_connection in compute/manager.py The function remove_volume_connection() has been changed. Fix up the code to call the correct interface. Change-Id: Ib0aa864d9efabb1102193a36ec05c3a1673091b5 Signed-off-by: Shane Wang --- nova/compute/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nova') diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 2f9d6066e..d5e124b1f 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -2223,8 +2223,8 @@ class ComputeManager(manager.SchedulerDependentManager): # NOTE(vish): We don't want to actually mark the volume # detached, or delete the bdm, just remove the # connection from this host. - self.remove_volume_connection(ctxt, instance_ref['id'], - bdm['volume_id']) + self.remove_volume_connection(ctxt, bdm['volume_id'], + instance_ref) # Releasing vlan. # (not necessary in current implementation?) -- cgit