summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorRyu Ishimoto <ryu@midokura.jp>2011-07-22 22:12:15 +0900
committerRyu Ishimoto <ryu@midokura.jp>2011-07-22 22:12:15 +0900
commit93ffbbb234df486a1adb558a5228a7f23ea3451b (patch)
tree5cb702f562cf9b311e51b7db30789de9770095ee /nova/compute
parent0880f170318cfa5d12b10e237f641b27c646c8b2 (diff)
Added network_info to unfilter_instance to avoid exceptions when shutting down instances
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/manager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index aeecdecfa..da84b98cb 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -1314,8 +1314,9 @@ class ComputeManager(manager.SchedulerDependentManager):
# Releasing vlan.
# (not necessary in current implementation?)
+ network_info = self._get_instance_nw_info(ctxt, instance_ref)
# Releasing security group ingress rule.
- self.driver.unfilter_instance(instance_ref)
+ self.driver.unfilter_instance(instance_ref, network_info=network_info)
# Database updating.
i_name = instance_ref.name