summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorEwan Mellor <emellor@silver>2010-10-04 07:38:16 +0000
committerTarmac <>2010-10-04 07:38:16 +0000
commit104940614784c69ed3d17581ff2cb1ed344eaa0f (patch)
tree9a23bb435b28a7e073397195574a54e7c63d3193 /nova
parent55995adccc382a6441883de54cd5aedf4b6edc2a (diff)
parentc66d550d208544799fdaf4646a846e9f9c0b6bc5 (diff)
Bug #653560: AttributeError in VlanManager.periodic_tasks
Pass the correct context to db.fixed_ip_disassociate_all_by_timeout.
Diffstat (limited to 'nova')
-rw-r--r--nova/network/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/network/manager.py b/nova/network/manager.py
index c77062389..9c1846dd9 100644
--- a/nova/network/manager.py
+++ b/nova/network/manager.py
@@ -236,7 +236,7 @@ class VlanManager(NetworkManager):
now = datetime.datetime.utcnow()
timeout = FLAGS.fixed_ip_disassociate_timeout
time = now - datetime.timedelta(seconds=timeout)
- num = self.db.fixed_ip_disassociate_all_by_timeout(self,
+ num = self.db.fixed_ip_disassociate_all_by_timeout(context,
self.host,
time)
if num: