]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix TypeError caused by delete_agent_gateway_port()
authorBrian Haley <brian.haley@hp.com>
Mon, 14 Sep 2015 20:12:18 +0000 (16:12 -0400)
committerBrian Haley <brian.haley@hpe.com>
Mon, 14 Sep 2015 21:09:19 +0000 (17:09 -0400)
commit573c14659a953164ba556c694062e9242dcca807
tree69bf530cbf6c27a4f365a765c6a3cce62ecad800
parenta938f53c95a4284a4505f6b7e0acaa942d0abaf7
Fix TypeError caused by delete_agent_gateway_port()

A recent change used a keyword argument when it didn't need to,
correct it to fix the multinode DVR job.

End of typical traceback:

File "/opt/stack/new/neutron/neutron/api/rpc/handlers/l3_rpc.py",
in delete_agent_gateway_port(admin_ctx, network_id, host_id=host)

TypeError: delete_floatingip_agent_gateway_port() got multiple
values for keyword argument 'host_id'

Introduced in commit 639f1893dde0d393a97b29ca5309dba716831a7

Related-bug: #1495147

Change-Id: Id2522bc843bc7b089b7783d3f765900a50a0033f
neutron/api/rpc/handlers/l3_rpc.py