OpenStack Compute (Nova)

TypeError: deallocate_fixed_ip() got an unexpected keyword argument 'project_id'

Reported by Dan Prince on 2012-03-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
High
Dan Prince

Bug Description

Using the latest nova Essex builds I'm seeing the following exceptions in network.log:

2012-03-08 13:44:08 ERROR nova.rpc.amqp [-] Exception during message handling
(nova.rpc.amqp): TRACE: Traceback (most recent call last):
(nova.rpc.amqp): TRACE: File "/usr/lib/python2.7/site-packages/nova/rpc/amqp.py", line 252, in _process_data
(nova.rpc.amqp): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.rpc.amqp): TRACE: File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 263, in wrapped
(nova.rpc.amqp): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc.amqp): TRACE: File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 379, in deallocate_for_instance
(nova.rpc.amqp): TRACE: super(FloatingIP, self).deallocate_for_instance(context, **kwargs)
(nova.rpc.amqp): TRACE: File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 263, in wrapped
(nova.rpc.amqp): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc.amqp): TRACE: File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 934, in deallocate_for_instance
(nova.rpc.amqp): TRACE: **kwargs)
(nova.rpc.amqp): TRACE: TypeError: deallocate_fixed_ip() got an unexpected keyword argument 'project_id'
(nova.rpc.amqp): TRACE:

Dan Prince (dan-prince) on 2012-03-08
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
importance: Undecided → High

Reviewed: https://review.openstack.org/5080
Committed: http://github.com/openstack/nova/commit/55c7ac12c0aa11e328243f79931b3d9721816389
Submitter: Jenkins
Branch: master

commit 55c7ac12c0aa11e328243f79931b3d9721816389
Author: Dan Prince <email address hidden>
Date: Thu Mar 8 11:04:13 2012 -0500

    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

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-03-20
Changed in nova:
milestone: none → essex-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers