[NEUTRON-75] Error seen while deleting a router interface Created: 15/Oct/15  Updated: 19/Oct/17  Resolved: 16/Nov/15

Status: Resolved
Project: neutron
Component/s: northbound-api
Affects Version/s: master
Fix Version/s: None

Type: Bug
Reporter: Rijil Abraham Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4477

 Description   

When trying to delete a router interface, although the interface is deleted an error is thrown. This causes the tempest cases to fail.

PUT http://105.0.1.216:9696/v2.0/routers/8d19c8bc-3cd0-4f28-945f-ad6c3311f780/remove_router_interface 0.765s
Body:

{"subnet_id": "661e0332-a453-419e-bbcd-44a7e986ef6b"}

Response - Headers:

{'status': '500', 'content-length': '150', 'connection': 'close', 'date': 'Fri, 09 Oct 2015 11:06:52 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-686335e4-fc0c-4766-946a-73c06520410f'}

Body: {"NeutronError": {"message": "Request Failed: internal server error while processing your request.", "type": "HTTPInternalServerError", "detail": ""}}

from the q-svc.log,

d4-478b-99b0-588b9cb03f51/remove_router_interface) JSON (

{'subnet_id': u'9dc2fd1c-794a-4cb3-9c96-eba80d964392', 'tenant_id': u'c1c6ba2fbfde476fb95630eda29de641', 'port_id': u'880d2a95-767e-49f6-b611-ecf64a4429f3', 'id': u'34918fed-4ed4-478b-99b0-588b9cb03f51'}

) sendjson /usr/local/lib/python2.7/dist-packages/networking_odl/common/client.py:38
2015-10-12 21:44:28.626 ERROR neutron.api.v2.resource [req-a2a6fa81-f73c-4c54-a6cd-afff4066798c admin admin] remove_router_interface failed
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource result = method(request=request, **args)
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 207, in _handle_action
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource return getattr(self._plugin, name)(*arg_list, **kwargs)
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/networking_odl/l3/l3_odl.py", line 154, in remove_router_interface
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource self.client.sendjson('delete', url, router_dict)
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/networking_odl/common/client.py", line 42, in sendjson
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource r.raise_for_status()
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 851, in raise_for_status
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource raise HTTPError(http_error_msg, response=self)
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource HTTPError: 405 Client Error: Method Not Allowed
2015-10-12 21:44:28.626 30071 TRACE neutron.api.v2.resource



 Comments   
Comment by Rijil Abraham [ 16/Nov/15 ]

The issue is no longer seen with the latest code.Hence closing it out.

Generated at Wed Feb 07 20:25:29 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.