← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470894] [NEW] test_port_creation_and_deletion KeyError: UUID

 

Public bug reported:

Functional test test_port_creation_and_deletion sometimes fails with
this stacktrace:

2015-07-02 03:24:13.028 | 2015-07-02 03:24:13.005 |     Traceback (most recent call last):
2015-07-02 03:24:13.029 | 2015-07-02 03:24:13.007 |       File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1526, in rpc_loop
2015-07-02 03:24:13.031 | 2015-07-02 03:24:13.008 |         port_info = self.scan_ports(reg_ports, updated_ports_copy)
2015-07-02 03:24:13.032 | 2015-07-02 03:24:13.010 |       File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1065, in scan_ports
2015-07-02 03:24:13.034 | 2015-07-02 03:24:13.011 |         cur_ports = self.int_br.get_vif_port_set()
2015-07-02 03:24:13.036 | 2015-07-02 03:24:13.013 |       File "neutron/agent/common/ovs_lib.py", line 365, in get_vif_port_set
2015-07-02 03:24:13.037 | 2015-07-02 03:24:13.014 |         results = cmd.execute(check_error=True)
2015-07-02 03:24:13.038 | 2015-07-02 03:24:13.016 |       File "neutron/agent/ovsdb/native/commands.py", line 42, in execute
2015-07-02 03:24:13.040 | 2015-07-02 03:24:13.017 |         ctx.reraise = False
2015-07-02 03:24:13.041 | 2015-07-02 03:24:13.019 |       File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
2015-07-02 03:24:13.045 | 2015-07-02 03:24:13.022 |         six.reraise(self.type_, self.value, self.tb)
2015-07-02 03:24:13.046 | 2015-07-02 03:24:13.023 |       File "neutron/agent/ovsdb/native/commands.py", line 35, in execute
2015-07-02 03:24:13.048 | 2015-07-02 03:24:13.025 |         txn.add(self)
2015-07-02 03:24:13.955 | 2015-07-02 03:24:13.932 |       File "neutron/agent/ovsdb/api.py", line 70, in __exit__
2015-07-02 03:24:13.957 | 2015-07-02 03:24:13.934 |         self.result = self.commit()
2015-07-02 03:24:13.958 | 2015-07-02 03:24:13.935 |       File "neutron/agent/ovsdb/impl_idl.py", line 70, in commit
2015-07-02 03:24:13.959 | 2015-07-02 03:24:13.937 |         raise result.ex
2015-07-02 03:24:13.961 | 2015-07-02 03:24:13.938 |     KeyError: UUID('7a90521e-6b79-444f-a63f-0973b71b8018')

see query

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

example of console log
http://logs.openstack.org/27/197727/4/check/check-neutron-dsvm-functional/7fd5c5c/console.html

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  test_port_creation_and_deletion KeyError: UUID

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Functional test test_port_creation_and_deletion sometimes fails with
  this stacktrace:

  2015-07-02 03:24:13.028 | 2015-07-02 03:24:13.005 |     Traceback (most recent call last):
  2015-07-02 03:24:13.029 | 2015-07-02 03:24:13.007 |       File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1526, in rpc_loop
  2015-07-02 03:24:13.031 | 2015-07-02 03:24:13.008 |         port_info = self.scan_ports(reg_ports, updated_ports_copy)
  2015-07-02 03:24:13.032 | 2015-07-02 03:24:13.010 |       File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 1065, in scan_ports
  2015-07-02 03:24:13.034 | 2015-07-02 03:24:13.011 |         cur_ports = self.int_br.get_vif_port_set()
  2015-07-02 03:24:13.036 | 2015-07-02 03:24:13.013 |       File "neutron/agent/common/ovs_lib.py", line 365, in get_vif_port_set
  2015-07-02 03:24:13.037 | 2015-07-02 03:24:13.014 |         results = cmd.execute(check_error=True)
  2015-07-02 03:24:13.038 | 2015-07-02 03:24:13.016 |       File "neutron/agent/ovsdb/native/commands.py", line 42, in execute
  2015-07-02 03:24:13.040 | 2015-07-02 03:24:13.017 |         ctx.reraise = False
  2015-07-02 03:24:13.041 | 2015-07-02 03:24:13.019 |       File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
  2015-07-02 03:24:13.045 | 2015-07-02 03:24:13.022 |         six.reraise(self.type_, self.value, self.tb)
  2015-07-02 03:24:13.046 | 2015-07-02 03:24:13.023 |       File "neutron/agent/ovsdb/native/commands.py", line 35, in execute
  2015-07-02 03:24:13.048 | 2015-07-02 03:24:13.025 |         txn.add(self)
  2015-07-02 03:24:13.955 | 2015-07-02 03:24:13.932 |       File "neutron/agent/ovsdb/api.py", line 70, in __exit__
  2015-07-02 03:24:13.957 | 2015-07-02 03:24:13.934 |         self.result = self.commit()
  2015-07-02 03:24:13.958 | 2015-07-02 03:24:13.935 |       File "neutron/agent/ovsdb/impl_idl.py", line 70, in commit
  2015-07-02 03:24:13.959 | 2015-07-02 03:24:13.937 |         raise result.ex
  2015-07-02 03:24:13.961 | 2015-07-02 03:24:13.938 |     KeyError: UUID('7a90521e-6b79-444f-a63f-0973b71b8018')

  see query

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

  example of console log
  http://logs.openstack.org/27/197727/4/check/check-neutron-dsvm-functional/7fd5c5c/console.html

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


Follow ups

References