From d60ac07ff9e92bd0eb981829d5af3a566ddf5fb6 Mon Sep 17 00:00:00 2001 From: joey5678 Date: Wed, 15 Oct 2014 21:20:09 +0800 Subject: [PATCH] Modify the arguments number lack bug The _heal_proxy_ports method in manager_proxy.py lacks an argument of 'instance', which make the vm can not launched. Change-Id: I59ecb92aca4b816dfcd4a3d0821a6297b625d136 --- novaproxy/nova/compute/manager_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novaproxy/nova/compute/manager_proxy.py b/novaproxy/nova/compute/manager_proxy.py index 2d65d03..6311573 100644 --- a/novaproxy/nova/compute/manager_proxy.py +++ b/novaproxy/nova/compute/manager_proxy.py @@ -873,7 +873,7 @@ class ComputeManager(manager.Manager): # spawn success return instance, network_info - def _heal_proxy_ports(self, context, network_info): + def _heal_proxy_ports(self, context, instance, network_info): physical_ports = [] for netObj in network_info: net_id = netObj['network']['id']