From 22470ebea059a5ccbb4b00599ac23ba9d04f9ac0 Mon Sep 17 00:00:00 2001 From: Trey Morris Date: Wed, 18 Jan 2012 11:43:20 -0600 Subject: [PATCH] fixes bug lp914962 Change-Id: I0f432b790ebee3a017f2124619a9ab78421b0eac --- nova/network/quantum/manager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nova/network/quantum/manager.py b/nova/network/quantum/manager.py index 0da4f84e9aee..687c9d076e26 100644 --- a/nova/network/quantum/manager.py +++ b/nova/network/quantum/manager.py @@ -306,6 +306,7 @@ class QuantumManager(manager.FlatManager): self.enable_dhcp(context, quantum_net_id, network_ref, vif_rec, project_id) return self.get_instance_nw_info(context, instance_id, + instance['uuid'], instance_type_id, host) def enable_dhcp(self, context, quantum_net_id, network_ref, vif_rec, @@ -390,8 +391,8 @@ class QuantumManager(manager.FlatManager): return self.db.virtual_interface_create(context, vif) - def get_instance_nw_info(self, context, instance_id, - instance_type_id, host): + def get_instance_nw_info(self, context, instance_id, instance_uuid, + instance_type_id, host): """This method is used by compute to fetch all network data that should be used when creating the VM.