From 164d233371fa1acbe695136df30366c4547604d0 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 31 May 2012 15:07:53 -0400 Subject: Fix destination host for remove_volume_connection. This patch fixes a regression in 957c4ff741b4029cf4bad5087000fba91f0ce938. The destination host was accidentally changed to 'host' when it should have been 'dest'. Change-Id: I2b262c4aedc2caa0c98c7660853358fc59935b63 --- nova/compute/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova') diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 740102e42..1ad74ee4a 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -2222,7 +2222,7 @@ class ComputeManager(manager.SchedulerDependentManager): volume_id = bdm['volume_id'] volume = self.volume_api.get(context, volume_id) rpc.call(context, - rpc.queue_get_for(context, FLAGS.compute_topic, host), + rpc.queue_get_for(context, FLAGS.compute_topic, dest), {"method": "remove_volume_connection", "args": {'instance_id': instance_ref['id'], 'volume_id': volume['id']}}) -- cgit