[nsxv3] Infinite loop during add router interface

Bug #1527805 reported by Tong Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-nsx
New
Undecided
Unassigned

Bug Description

In stable/liberty, add router interface goes into a infinite loop and failed eventually when maximum recursion depth exceeded.

Trace:
2015-12-18 23:02:18.390 ERROR root [req-2db64353-ba8c-4efa-81f4-0da6f2f2a276 admin e7c3557f2c5441a4bd889fd0c0487fe8] Original exception being dropped: ['Traceback (most recent call last):\n', ' File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1190, in add_router_interface\n address_groups=address_groups)\n', ' File "/opt/stack/vmware-nsx/vmware_nsx/nsxlib/v3/router.py", line 148, in create_logical_router_intf_port_by_ls_id\n address_groups)\n', ' File "/opt/stack/vmware-nsx/vmware_nsx/nsxlib/v3/resources.py", line 335, in create\n return self._client.create(body)\n', ' File "/opt/stack/vmware-nsx/vmware_nsx/nsxlib/v3/client.py", line 67, in create\n return self.url_post(\'\', body, headers=headers)\n', ' File "/opt/stack/vmware-nsx/vmware_nsx/nsxlib/v3/client.py", line 82, in url_post\n return self._rest_call(url, method=\'POST\', body=body, headers=headers)\n', ' File "/opt/stack/vmware-nsx/vmware_nsx/nsxlib/v3/client.py", line 161, in _rest_call\n result = super(JSONRESTClient, self)._rest_call(*args, **kwargs)\n', ' File "/opt/stack/vmware-nsx/vmware_nsx/nsxlib/v3/client.py", line 138, in _rest_call\n _("%(verb)s %(url)s") % {\'verb\': method, \'url\': request_url})\n', ' File "/opt/stack/vmware-nsx/vmware_nsx/nsxlib/v3/client.py", line 102, in _validate_result\n details=result_msg)\n', "ManagerError: Unexpected error from backend manager (['10.116.254.23', '10.116.244.54', '10.116.246.213']) for POST api/v1/logical-router-ports\n"]
2015-12-18 23:02:18.390 ERROR neutron.api.v2.resource [req-2db64353-ba8c-4efa-81f4-0da6f2f2a276 admin e7c3557f2c5441a4bd889fd0c0487fe8] add_router_interface failed
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  result = method(request=request, **args)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 147, in wrapper
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  ectxt.value = e.inner_exc
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  six.reraise(self.type_, self.value, self.tb)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 137, in wrapper
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  return f(*args, **kwargs)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/neutron/neutron/api/v2/base.py", line 217, in _handle_action
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  ret_value = getattr(self._plugin, name)(*arg_list, **kwargs)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1201, in add_router_interface
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  interface=info)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/dhcp_meta/rpc.py", line 113, in handle_router_metadata_access
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  plugin, ctx_elevated, router_id)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/dhcp_meta/rpc.py", line 176, in _create_metadata_access_network
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  {'subnet_id': meta_sub['id']})
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1205, in add_router_interface
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  context, router_id, interface_info)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1274, in remove_router_interface
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  interface=info)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/dhcp_meta/rpc.py", line 113, in handle_router_metadata_access
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  plugin, ctx_elevated, router_id)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/dhcp_meta/rpc.py", line 176, in _create_metadata_access_network
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  {'subnet_id': meta_sub['id']})
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1205, in add_router_interface
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  context, router_id, interface_info)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1274, in remove_router_interface
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  interface=info)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/dhcp_meta/rpc.py", line 113, in handle_router_metadata_access
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  plugin, ctx_elevated, router_id)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/dhcp_meta/rpc.py", line 176, in _create_metadata_access_network
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  {'subnet_id': meta_sub['id']})
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1205, in add_router_interface
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  context, router_id, interface_info)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1274, in remove_router_interface
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  interface=info)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/dhcp_meta/rpc.py", line 113, in handle_router_metadata_access
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  plugin, ctx_elevated, router_id)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/dhcp_meta/rpc.py", line 176, in _create_metadata_access_network
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  {'subnet_id': meta_sub['id']})
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1205, in add_router_interface
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  context, router_id, interface_info)
2015-12-18 23:02:18.390 TRACE neutron.api.v2.resource  File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 1274, in remove_router_interface

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.