From e4dd27188e071778c0675b6e8e4d050fb13004f3 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 30 Jul 2012 20:16:26 -0400 Subject: Fix arg to get_instance_volume_block_device_info(). Michael Still caught this bug while reviewing an earlier patch in this patch series. This code was passing an instance ID to this function, but it expects an instance UUID. Not really related to, but tied up in the patch series for blueprint no-db-messaging. Change-Id: I3ec871deadd13a8117f16ad46c31b0a9c8a016db --- nova/compute/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 65bd43f21..78d69becc 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -2432,7 +2432,7 @@ class ComputeManager(manager.SchedulerDependentManager): # NOTE(vish): The mapping is passed in so the driver can disconnect # from remote volumes if necessary block_device_info = self._get_instance_volume_block_device_info( - context, instance['id']) + context, instance['uuid']) self.driver.destroy(instance, self._legacy_nw_info(network_info), block_device_info) -- cgit