← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1730552] [NEW] neutron-openvswitch-agent raise OVSFWPortNotFound exception

 

Public bug reported:

When I check openvswitch-agent.log,I find ERROR log be result from
OVSFWPortNotFound exception.

2017-11-01 09:33:10.844 157874 INFO neutron.agent.common.ovs_lib [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 not present in bridge br-int
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Error while processing VIF ports: OVSFWPortNotFound: Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 is not managed by this agent.
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 2071, in rpc_loop
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     port_info, ovs_restarted)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     return f(*args, **kwargs)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1674, in process_network_ports
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     port_info.get('updated', set()))
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 277, in setup_port_filters
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self.refresh_firewall(updated_devices)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 110, in decorated_function
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     *args, **kwargs)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 230, in refresh_firewall
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self._apply_port_filter(device_ids, update_filter=True)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 141, in _apply_port_filter
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self.firewall.update_port_filter(device)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 505, in update_port_filter
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     of_port = self.get_or_create_ofport(port)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 454, in get_or_create_ofport
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     ovs_port = self.get_ovs_port(port_id)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 438, in get_ovs_port
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     raise exceptions.OVSFWPortNotFound(port_id=port_id)
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent OVSFWPortNotFound: Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 is not managed by this agent.
2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
2017-11-01 09:33:10.847 157874 DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Agent rpc_loop - iteration:24720 completed. Processed ports statistics: {'regular': {'updated': 0, 'added': 0, 'removed': 2}}. Elapsed:0.394 loop_count_and_wait /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1804
2017-11-01 09:33:11.157 157874 DEBUG neutron.agent.linux.async_process [-] Output received from [ovsdb-client monitor tcp:127.0.0.1:6640 Interface name,ofport,external_ids --format=json]: {"data":[["15bf7c96-ecc3-49c1-865b-6f0c94d71345","old",null,894,null],["","new","tap874fa2fa-fa",-1,["map",[["attached-mac","fa:16:3e:c7:8f:d8"],["iface-id","874fa2fa-fa01-4319-8c09-1d93d2ee5ea5"],["iface-status","active"],["vm-id","4a37021a-d764-4fab-b52c-058a6d36c546"]]]]],"headings":["row","action","name","ofport","external_ids"]} _read_stdout /usr/lib/python2.7/site-packages/neutron/agent/linux/async_process.py:239

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

+ When I check openvswitch-agent.log,I find ERROR log be result from
+ OVSFWPortNotFound exception.
+ 
  2017-11-01 09:33:10.844 157874 INFO neutron.agent.common.ovs_lib [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 not present in bridge br-int
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Error while processing VIF ports: OVSFWPortNotFound: Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 is not managed by this agent.
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 2071, in rpc_loop
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     port_info, ovs_restarted)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     return f(*args, **kwargs)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1674, in process_network_ports
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     port_info.get('updated', set()))
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 277, in setup_port_filters
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self.refresh_firewall(updated_devices)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 110, in decorated_function
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     *args, **kwargs)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 230, in refresh_firewall
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self._apply_port_filter(device_ids, update_filter=True)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 141, in _apply_port_filter
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self.firewall.update_port_filter(device)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 505, in update_port_filter
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     of_port = self.get_or_create_ofport(port)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 454, in get_or_create_ofport
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     ovs_port = self.get_ovs_port(port_id)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 438, in get_ovs_port
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     raise exceptions.OVSFWPortNotFound(port_id=port_id)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent OVSFWPortNotFound: Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 is not managed by this agent.
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
  2017-11-01 09:33:10.847 157874 DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Agent rpc_loop - iteration:24720 completed. Processed ports statistics: {'regular': {'updated': 0, 'added': 0, 'removed': 2}}. Elapsed:0.394 loop_count_and_wait /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1804
  2017-11-01 09:33:11.157 157874 DEBUG neutron.agent.linux.async_process [-] Output received from [ovsdb-client monitor tcp:127.0.0.1:6640 Interface name,ofport,external_ids --format=json]: {"data":[["15bf7c96-ecc3-49c1-865b-6f0c94d71345","old",null,894,null],["","new","tap874fa2fa-fa",-1,["map",[["attached-mac","fa:16:3e:c7:8f:d8"],["iface-id","874fa2fa-fa01-4319-8c09-1d93d2ee5ea5"],["iface-status","active"],["vm-id","4a37021a-d764-4fab-b52c-058a6d36c546"]]]]],"headings":["row","action","name","ofport","external_ids"]} _read_stdout /usr/lib/python2.7/site-packages/neutron/agent/linux/async_process.py:239

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1730552

Title:
  neutron-openvswitch-agent raise OVSFWPortNotFound exception

Status in neutron:
  New

Bug description:
  When I check openvswitch-agent.log,I find ERROR log be result from
  OVSFWPortNotFound exception.

  2017-11-01 09:33:10.844 157874 INFO neutron.agent.common.ovs_lib [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 not present in bridge br-int
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Error while processing VIF ports: OVSFWPortNotFound: Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 is not managed by this agent.
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 2071, in rpc_loop
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     port_info, ovs_restarted)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     return f(*args, **kwargs)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1674, in process_network_ports
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     port_info.get('updated', set()))
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 277, in setup_port_filters
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self.refresh_firewall(updated_devices)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 110, in decorated_function
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     *args, **kwargs)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 230, in refresh_firewall
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self._apply_port_filter(device_ids, update_filter=True)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 141, in _apply_port_filter
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     self.firewall.update_port_filter(device)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 505, in update_port_filter
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     of_port = self.get_or_create_ofport(port)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 454, in get_or_create_ofport
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     ovs_port = self.get_ovs_port(port_id)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py", line 438, in get_ovs_port
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent     raise exceptions.OVSFWPortNotFound(port_id=port_id)
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent OVSFWPortNotFound: Port f0760ad8-8f1c-47b3-8347-3e7d282ccdf5 is not managed by this agent.
  2017-11-01 09:33:10.845 157874 ERROR neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent
  2017-11-01 09:33:10.847 157874 DEBUG neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-d8c2d9bb-ea70-498c-9d28-92df6e7a84bd - - - - -] Agent rpc_loop - iteration:24720 completed. Processed ports statistics: {'regular': {'updated': 0, 'added': 0, 'removed': 2}}. Elapsed:0.394 loop_count_and_wait /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py:1804
  2017-11-01 09:33:11.157 157874 DEBUG neutron.agent.linux.async_process [-] Output received from [ovsdb-client monitor tcp:127.0.0.1:6640 Interface name,ofport,external_ids --format=json]: {"data":[["15bf7c96-ecc3-49c1-865b-6f0c94d71345","old",null,894,null],["","new","tap874fa2fa-fa",-1,["map",[["attached-mac","fa:16:3e:c7:8f:d8"],["iface-id","874fa2fa-fa01-4319-8c09-1d93d2ee5ea5"],["iface-status","active"],["vm-id","4a37021a-d764-4fab-b52c-058a6d36c546"]]]]],"headings":["row","action","name","ofport","external_ids"]} _read_stdout /usr/lib/python2.7/site-packages/neutron/agent/linux/async_process.py:239

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1730552/+subscriptions


Follow ups