Traceback when deleting VxLAN networks using N1kv plugin

Bug #1413319 reported by Richard Winters
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
New
Undecided
Unassigned

Bug Description

Traceback when deleting VxLAN networks using N1kv plugin

OpenStack Version: Kilo

$ nova-manage version
2015.1

$ neutron --version
2.3.10

Steps to Repo:
  1. Setup Testbed with multi node CSR/N1Kv
  2. Create an overlay Network Profile
  3. Create a network using overlay network profile.
  4. Attach to Router (CSR)
  5. Create/Attach VMs
  6. Delete VMs
  7. Delete port to Router
  8. Delete network
  9. Check log for errors

2015-01-20 11:22:17.447 DEBUG neutron.plugins.cisco.n1kv.n1kv_neutron_plugin [req-ba1e4506-b97b-4a47-ad0d-7070df36af33 admin 3476e663d2084dcca4533e784dc37d9d] Get network: bfa4b652-53e8-4c58-ba21-9cc44a5407ba from (pid=13573) get_network /opt/stack/neutron/neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py:1058
2015-01-20 11:22:17.463 DEBUG neutron.context [req-f3191202-1890-47c3-a384-9100f074c748 None None] Arguments dropped when creating context: {u'project_name': None, u'tenant': None} from (pid=13573) __init__ /opt/stack/neutron/neutron/context.py:84
2015-01-20 11:22:17.463 DEBUG neutron.api.rpc.handlers.dhcp_rpc [req-f3191202-1890-47c3-a384-9100f074c748 None None] Network bfa4b652-53e8-4c58-ba21-9cc44a5407ba requested from qa1 from (pid=13573) get_network_info /opt/stack/neutron/neutron/api/rpc/handlers/dhcp_rpc.py:122
2015-01-20 11:22:17.464 DEBUG neutron.plugins.cisco.n1kv.n1kv_neutron_plugin [req-f3191202-1890-47c3-a384-9100f074c748 None None] Get network: bfa4b652-53e8-4c58-ba21-9cc44a5407ba from (pid=13573) get_network /opt/stack/neutron/neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py:1058
2015-01-20 11:22:17.485 DEBUG neutron.plugins.cisco.n1kv.n1kv_neutron_plugin [req-ba1e4506-b97b-4a47-ad0d-7070df36af33 admin 3476e663d2084dcca4533e784dc37d9d] Get network: bfa4b652-53e8-4c58-ba21-9cc44a5407ba from (pid=13573) get_network /opt/stack/neutron/neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py:1058
2015-01-20 11:22:17.607 DEBUG neutron.plugins.cisco.n1kv.n1kv_neutron_plugin [req-ba1e4506-b97b-4a47-ad0d-7070df36af33 admin 3476e663d2084dcca4533e784dc37d9d] _send_delete_network_request: bfa4b652-53e8-4c58-ba21-9cc44a5407ba from (pid=13573) _send_delete_network_request /opt/stack/neutron/neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py:730
2015-01-20 11:22:17.610 ERROR oslo.messaging.rpc.dispatcher [req-f3191202-1890-47c3-a384-9100f074c748 None None] Exception during message handling: Network Binding for network bfa4b652-53e8-4c58-ba21-9cc44a5407ba could not be found.
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/neutron/neutron/api/rpc/handlers/dhcp_rpc.py", line 125, in get_network_info
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher network = plugin.get_network(context, network_id)
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/neutron/neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py", line 1062, in get_network
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher self._extend_network_dict_member_segments(context, net)
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/neutron/neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py", line 540, in _extend_network_dict_member_segments
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher network['id'])
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher File "/opt/stack/neutron/neutron/plugins/cisco/db/n1kv_db_v2.py", line 273, in get_network_binding
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher raise c_exc.NetworkBindingNotFound(network_id=network_id)
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher NetworkBindingNotFound: Network Binding for network bfa4b652-53e8-4c58-ba21-9cc44a5407ba could not be found.
2015-01-20 11:22:17.610 TRACE oslo.messaging.rpc.dispatcher
2015-01-20 11:22:17.612 ERROR oslo.messaging._drivers.common [req-f3191202-1890-47c3-a384-9100f074c748 None None] Returning exception Network Binding for network bfa4b652-53e8-4c58-ba21-9cc44a5407ba could not be found. to caller
2015-01-20 11:22:17.612 ERROR oslo.messaging._drivers.common [req-f3191202-1890-47c3-a384-9100f074c748 None None] ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/opt/stack/neutron/neutron/api/rpc/handlers/dhcp_rpc.py", line 125, in get_network_info\n network = plugin.get_network(context, network_id)\n', ' File "/opt/stack/neutron/neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py", line 1062, in get_network\n self._extend_network_dict_member_segments(context, net)\n', ' File "/opt/stack/neutron/neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py", line 540, in _extend_network_dict_member_segments\n network[\'id\'])\n', ' File "/opt/stack/neutron/neutron/plugins/cisco/db/n1kv_db_v2.py", line 273, in get_network_binding\n raise c_exc.NetworkBindingNotFound(network_id=network_id)\n', 'NetworkBindingNotFound: Network Binding for network bfa4b652-53e8-4c58-ba21-9cc44a5407ba could not be found.\n']

Tags: n1kv cisco
Changed in neutron:
importance: Undecided → Medium
status: New → Confirmed
no longer affects: neutron
Henry Gessau (gessau)
tags: added: n1kv
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.