← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1473038] [NEW] func test ovs agent KeyError: 'ofport'

 

Public bug reported:

>From time to time I see this error:

2015-07-07 16:32:03.667 | 2015-07-07 16:32:03.600 |     Traceback (most recent call last):
2015-07-07 16:32:03.667 | 2015-07-07 16:32:03.601 |       File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1550, in rpc_loop
2015-07-07 16:32:03.667 | 2015-07-07 16:32:03.603 |         port_info = self.scan_ports(reg_ports, updated_ports_copy)
2015-07-07 16:32:03.667 | 2015-07-07 16:32:03.604 |       File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1075, in scan_ports
2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.605 |         cur_ports = self.int_br.get_vif_port_set()
2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.607 |       File "neutron/agent/common/ovs_lib.py", line 372, in get_vif_port_set
2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.608 |         if result['ofport'] == UNASSIGNED_OFPORT:
2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.609 |     KeyError: 'ofport'
2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.610 |     2015-07-07 16:30:31,332     INFO [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Agent out of sync with plugin!


http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiS2V5RXJyb3I6ICdvZnBvcnQnXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjE3MjgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MzY0NDQwNTczMDksIm1vZGUiOiIiLCJhbmFseXplX2ZpZWxkIjoiIn0=

** Affects: neutron
     Importance: Undecided
     Assignee: Rossella Sblendido (rossella-o)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Rossella Sblendido (rossella-o)

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

Title:
  func test ovs agent KeyError: 'ofport'

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  From time to time I see this error:

  2015-07-07 16:32:03.667 | 2015-07-07 16:32:03.600 |     Traceback (most recent call last):
  2015-07-07 16:32:03.667 | 2015-07-07 16:32:03.601 |       File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1550, in rpc_loop
  2015-07-07 16:32:03.667 | 2015-07-07 16:32:03.603 |         port_info = self.scan_ports(reg_ports, updated_ports_copy)
  2015-07-07 16:32:03.667 | 2015-07-07 16:32:03.604 |       File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1075, in scan_ports
  2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.605 |         cur_ports = self.int_br.get_vif_port_set()
  2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.607 |       File "neutron/agent/common/ovs_lib.py", line 372, in get_vif_port_set
  2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.608 |         if result['ofport'] == UNASSIGNED_OFPORT:
  2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.609 |     KeyError: 'ofport'
  2015-07-07 16:32:03.668 | 2015-07-07 16:32:03.610 |     2015-07-07 16:30:31,332     INFO [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Agent out of sync with plugin!

  
  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiS2V5RXJyb3I6ICdvZnBvcnQnXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjE3MjgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MzY0NDQwNTczMDksIm1vZGUiOiIiLCJhbmFseXplX2ZpZWxkIjoiIn0=

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


Follow ups