backlog_router() takes exactly 3 arguments (2 given)

Bug #1479827 reported by Nikolay Fedotov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
New
Undecided
Unassigned

Bug Description

Ran into exception: TypeError: backlog_router() takes exactly 3 arguments (2 given)
The method needs second parameter but only context was given: def backlog_router(self, context, router_binding):

Full text:
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  result = method(request=request, **args)
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 146, in wrapper
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  ectxt.value = e.inner_exc
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 119, in __exit__
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  six.reraise(self.type_, self.value, self.tb)
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 136, in wrapper
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  return f(*args, **kwargs)
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  File "/opt/stack/neutron/neutron/api/v2/base.py", line 499, in delete
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  obj_deleter(request.context, id, **kwargs)
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  File "/opt/stack/networking-cisco/networking_cisco/plugins/cisco/db/l3/l3_router_appliance_db.py", line 166, in delete_router
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  self.backlog_router(id)
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 252, in inner
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource  return f(*args, **kwargs)
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource TypeError: backlog_router() takes exactly 3 arguments (2 given)
2015-07-30 14:11:35.116 TRACE neutron.api.v2.resource 

Tags: csr1kv
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.