Public bug reported: Removing a router interface on Arista L3 Plugin causes the following exception:
2015-05-07 18:43:35.329 24639 INFO neutron.wsgi [-] (24639) accepted ('172.28.129.192', 59983) 2015-05-07 18:43:35.428 DEBUG neutron.services.l3_router.l3_arista [req-268e85d5-f013-44a0-bbf0-d8ec83ea2155 admin demo] neutron.services.l3_router.l3_arista.AristaL3ServicePlugin method remove_router_interface called with arguments (<neutron.context.Context object at 0x7fada0f53dd0>, u'e24f4f29-83b1-4aed-afcb-3adfebad22d5', {u'port_id': u'867118df-949f-4b8f-82d5-734a82c2ec77'}) {} wrapper /opt/stack/neutron/neutron/common/log.py:33 2015-05-07 18:43:35.429 ERROR neutron.api.v2.resource [req-268e85d5-f013-44a0-bbf0-d8ec83ea2155 admin demo] remove_router_interface failed 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource Traceback (most recent call last): 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource result = method(request=request, **args) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 207, in _handle_action 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource return getattr(self._plugin, name)(*arg_list, **kwargs) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/common/log.py", line 34, in wrapper 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource return method(*args, **kwargs) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/services/l3_router/l3_arista.py", line 212, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource context, router_id, interface_info)) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/db/l3_db.py", line 1322, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource context, router_id, interface_info) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/db/l3_db.py", line 724, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource self._validate_interface_info(interface_info, for_removal=True) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource TypeError: _validate_interface_info() got an unexpected keyword argument 'for_removal' 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource ** Affects: neutron Importance: Undecided Assignee: Sukhdev Kapur (sukhdev-8) Status: New ** Description changed: Removing a router interface on Arista L3 Plugin causes the following exception: - 2015-05-07 18:43:35.329 24639 INFO neutron.wsgi [-] (24639) accepted ('172.28.129.192', 59983) 2015-05-07 18:43:35.428 DEBUG neutron.services.l3_router.l3_arista [req-268e85d5-f013-44a0-bbf0-d8ec83ea2155 admin demo] neutron.services.l3_router.l3_arista.AristaL3ServicePlugin method remove_router_interface called with arguments (<neutron.context.Context object at 0x7fada0f53dd0>, u'e24f4f29-83b1-4aed-afcb-3adfebad22d5', {u'port_id': u'867118df-949f-4b8f-82d5-734a82c2ec77'}) {} wrapper /opt/stack/neutron/neutron/common/log.py:33 2015-05-07 18:43:35.429 ERROR neutron.api.v2.resource [req-268e85d5-f013-44a0-bbf0-d8ec83ea2155 admin demo] remove_router_interface failed 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource Traceback (most recent call last): 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource result = method(request=request, **args) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 207, in _handle_action 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource return getattr(self._plugin, name)(*arg_list, **kwargs) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/common/log.py", line 34, in wrapper 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource return method(*args, **kwargs) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/services/l3_router/l3_arista.py", line 212, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource context, router_id, interface_info)) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/db/l3_db.py", line 1322, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource context, router_id, interface_info) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/db/l3_db.py", line 724, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource self._validate_interface_info(interface_info, for_removal=True) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource TypeError: _validate_interface_info() got an unexpected keyword argument 'for_removal' - 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource - 2015-05-07 18:43:35.430 INFO neutron.wsgi [req-268e85d5-f013-44a0-bbf0-d8ec83ea2155 admin demo] 172.28.129.192 - - [07/May/2015 18:43:35] "PUT //v2.0/routers/e24f4f29-83b1-4aed-afcb-3adfebad22d5/remove_router_interface.json HTTP/1.1" 500 359 0.099703 - 2015-05-07 18:43:35.448 24639 INFO neutron.wsgi [-] (24639) accepted ('172.28.129.192', 59984) - 2015-05-07 18:43:35.470 INFO neutron.wsgi [req-fb0bc1fc-4a8e-4b71-bd94-485f762574e2 admin demo] 172.28.129.192 - - [07/May/2015 18:43:35] "GET //v2.0/routers/e24f4f29-83b1-4aed-afcb-3adfebad22d5.json HTTP/1.1" 200 405 0.021592 - 2015-05-07 18:43:35.473 24639 INFO neutron.wsgi [-] (24639) accepted ('172.28.129.192', 59985) + 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource ** Changed in: neutron Assignee: (unassigned) => Sukhdev Kapur (sukhdev-8) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1453323 Title: Remove router interface on Arista Plugin fails Status in OpenStack Neutron (virtual network service): New Bug description: Removing a router interface on Arista L3 Plugin causes the following exception: 2015-05-07 18:43:35.329 24639 INFO neutron.wsgi [-] (24639) accepted ('172.28.129.192', 59983) 2015-05-07 18:43:35.428 DEBUG neutron.services.l3_router.l3_arista [req-268e85d5-f013-44a0-bbf0-d8ec83ea2155 admin demo] neutron.services.l3_router.l3_arista.AristaL3ServicePlugin method remove_router_interface called with arguments (<neutron.context.Context object at 0x7fada0f53dd0>, u'e24f4f29-83b1-4aed-afcb-3adfebad22d5', {u'port_id': u'867118df-949f-4b8f-82d5-734a82c2ec77'}) {} wrapper /opt/stack/neutron/neutron/common/log.py:33 2015-05-07 18:43:35.429 ERROR neutron.api.v2.resource [req-268e85d5-f013-44a0-bbf0-d8ec83ea2155 admin demo] remove_router_interface failed 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource Traceback (most recent call last): 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource result = method(request=request, **args) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 207, in _handle_action 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource return getattr(self._plugin, name)(*arg_list, **kwargs) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/common/log.py", line 34, in wrapper 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource return method(*args, **kwargs) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/services/l3_router/l3_arista.py", line 212, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource context, router_id, interface_info)) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/db/l3_db.py", line 1322, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource context, router_id, interface_info) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/db/l3_db.py", line 724, in remove_router_interface 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource self._validate_interface_info(interface_info, for_removal=True) 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource TypeError: _validate_interface_info() got an unexpected keyword argument 'for_removal' 2015-05-07 18:43:35.429 24639 TRACE neutron.api.v2.resource To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1453323/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp