NeutronException: An unknown exception occurred when tried to delete a port which attached to a router

Bug #1594735 reported by sajuptpm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Medium
sajuptpm
R2.20
In Progress
Medium
sajuptpm
OpenContrail
New
Medium
sajuptpm

Bug Description

from neutron-server.log
========
2016-06-15 08:38:56.116 6960 INFO neutron.wsgi [req-ecf71870-43a5-42bc-818c-2a8e864f8687 ] 192.168.100.88,127.0.0.1 - - [15/Jun/2016 08:38:56] "GET /v2.0/networks.json?tenant_id=00000000000000000000012276693110 HTTP/1.1" 200 2602 0.129577
2016-06-15 08:38:56.394 6960 ERROR neutron.api.v2.resource [req-d9c1069d-ccf9-4a94-aba8-3e5fd4cc928a ] remove_router_interface failed
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource Traceback (most recent call last):
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 83, in resource
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource result = method(request=request, **args)
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 207, in _handle_action
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource return getattr(self._plugin, name)(*arg_list, **kwargs)
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin.py", line 600, in remove_router_interface
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource obj_name='remove_router_interface')
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin.py", line 249, in _raise_contrail_error
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource raise exc.NeutronException(**info)
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource NeutronException: An unknown exception occurred.
2016-06-15 08:38:56.394 6960 TRACE neutron.api.v2.resource
2016-06-15 08:38:56.398 6960 INFO neutron.wsgi [req-d9c1069d-ccf9-4a94-aba8-3e5fd4cc928a ] 192.168.100.88,127.0.0.1 - - [15/Jun/2016 08:38:56] "PUT /v2.0/routers/fcb01467-9f55-4943-a185-df0a9ae80708/remove_router_interface.json HTTP/1.1" 500 338 0.561269

from /var/log/contrail/contrail-api-0-stdout.log
======================
0 2043 0.040044
<pre>Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/vnc_openstack/neutron_plugin_interface.py", line 875, in plugin_del_router_interface
    subnet_id=subnet_id)
  File "/usr/lib/python2.7/dist-packages/vnc_openstack/neutron_plugin_db.py", line 3457, in remove_router_interface
    self.port_delete(port_id)
  File "/usr/lib/python2.7/dist-packages/vnc_openstack/neutron_plugin_db.py", line 3741, in port_delete <=======
    device_owner=constants.DEVICE_OWNER_ROUTER_INTF)
  File "/usr/lib/python2.7/dist-packages/vnc_openstack/neutron_plugin_db.py", line 254, in _raise_contrail_exception
    bottle.abort(400, json.dumps(exc_info))
  File "/usr/lib/python2.7/dist-packages/bottle.py", line 2310, in abort
    raise HTTPError(code, text)
HTTPError
</pre>
192.168.100.88 - - [2016-06-14 14:49:30] "POST /neutron/router HTTP/1.1" 400 249 0.780767

-----------

Tags: config neutron
sajuptpm (sajuptpm)
summary: - shows NeutronException: An unknown exception occurred when tried to
- delete a port which attached to a router
+ NeutronException: An unknown exception occurred when tried to delete a
+ port which attached to a router
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/21321
Submitter: sajuptpm (<email address hidden>)

Changed in juniperopenstack:
importance: Undecided → Medium
Changed in opencontrail:
importance: Undecided → Medium
Changed in juniperopenstack:
assignee: nobody → sajuptpm (sajuptpm)
Changed in opencontrail:
assignee: nobody → sajuptpm (sajuptpm)
tags: added: config neutron
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.