From d854a1d4f3da949e364e3b80827cf25aff7c7344 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Wed, 7 Mar 2012 08:49:35 -0500 Subject: Fix multi_host column name in setup_networks... Use the correct DB column name for multi_host in the Nova network manage setup_networks_on_host function. Fixes LP Bug #948965. Change-Id: Id2a7bf9a2b5173d2b5fdec17a19e364e54c9a2c4 --- nova/network/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/network/manager.py b/nova/network/manager.py index 407255a40..60e642c81 100644 --- a/nova/network/manager.py +++ b/nova/network/manager.py @@ -1465,8 +1465,8 @@ class NetworkManager(manager.SchedulerDependentManager): fixed_ips = self.db.fixed_ips_by_virtual_interface(context, vif['id']) addresses = [fixed_ip['address'] for fixed_ip in fixed_ips] - if not network['multihost']: - #NOTE (tr3buchet): if using multihost, host is instance[host] + if not network['multi_host']: + #NOTE (tr3buchet): if using multi_host, host is instance[host] host = network['host'] if self.host == host or host is None: # at this point i am the correct host, or host doesn't -- cgit