From 55c7ac12c0aa11e328243f79931b3d9721816389 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Thu, 8 Mar 2012 11:04:13 -0500 Subject: Handle kwargs in deallocate_fixed_ip for FlatDHCP. Fixes TypeError's that occur when deallocate_fixed_ip gets called using FlatDHCP. Fixes LP Bug #950029. Change-Id: I7357277ce56d7ad4c9e7a716cbd6f25952aa1b8d --- nova/network/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova') diff --git a/nova/network/manager.py b/nova/network/manager.py index 60e642c81..8e653d504 100644 --- a/nova/network/manager.py +++ b/nova/network/manager.py @@ -229,7 +229,7 @@ class RPCAllocateFixedIP(object): network = self._get_network_by_id(context, network_id) return self.allocate_fixed_ip(context, instance_id, network, **kwargs) - def deallocate_fixed_ip(self, context, address, host): + def deallocate_fixed_ip(self, context, address, host, **kwargs): """Call the superclass deallocate_fixed_ip if i'm the correct host otherwise cast to the correct host""" fixed_ip = self.db.fixed_ip_get_by_address(context, address) -- cgit