← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1473049] Re: test_port_creation_and_deletion fails with "Row removed from DB during listing"

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => liberty-2

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

Title:
  test_port_creation_and_deletion fails with "Row removed from DB during
  listing"

Status in neutron:
  Fix Released

Bug description:
  I see it failing once in feature/qos:

  ft1.57: neutron.tests.functional.agent.test_l2_ovs_agent.TestOVSAgent.test_port_creation_and_deletion(native)_StringException: Empty attachments:
    pythonlogging:'neutron.api.extensions'
    stderr
    stdout

  pythonlogging:'': {{{
  2015-07-09 10:50:55,923     INFO [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Mapping physical network physnet to bridge br-int790964659
  2015-07-09 10:50:55,949  WARNING [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Creating an interface named br-int790964659 exceeds the 15 character limitation. It was shortened to int-br-inad9e8d to fit.
  2015-07-09 10:50:55,949  WARNING [neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent] Creating an interface named br-int790964659 exceeds the 15 character limitation. It was shortened to phy-br-inad9e8d to fit.
  2015-07-09 10:50:56,466    ERROR [neutron.agent.ovsdb.impl_idl] Traceback (most recent call last):
    File "neutron/agent/ovsdb/native/connection.py", line 84, in run
      txn.results.put(txn.do_commit())
    File "neutron/agent/ovsdb/impl_idl.py", line 92, in do_commit
      ctx.reraise = False
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "neutron/agent/ovsdb/impl_idl.py", line 87, in do_commit
      command.run_idl(txn)
    File "neutron/agent/ovsdb/native/commands.py", line 413, in run_idl
      "Records=%(records)s.") % self.requested_info)
  RuntimeError: Row removed from DB during listing. Request info: Table=Port. Columns=['name', 'other_config', 'tag']. Records=None.

  2015-07-09 10:50:56,466    ERROR [neutron.agent.ovsdb.native.commands] Error executing command
  Traceback (most recent call last):
    File "neutron/agent/ovsdb/native/commands.py", line 35, in execute
      txn.add(self)
    File "neutron/agent/ovsdb/api.py", line 70, in __exit__
      self.result = self.commit()
    File "neutron/agent/ovsdb/impl_idl.py", line 70, in commit
      raise result.ex
  RuntimeError: Row removed from DB during listing. Request info: Table=Port. Columns=['name', 'other_config', 'tag']. Records=None.
  }}}

  Traceback (most recent call last):
    File "neutron/tests/functional/agent/test_l2_ovs_agent.py", line 245, in test_port_creation_and_deletion
      agent = self.create_agent()
    File "neutron/tests/functional/agent/test_l2_ovs_agent.py", line 112, in create_agent
      conf=self.config)
    File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 281, in __init__
      self._restore_local_vlan_map()
    File "neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py", line 316, in _restore_local_vlan_map
      "Port", columns=["name", "other_config", "tag"])
    File "neutron/agent/common/ovs_lib.py", line 148, in db_list
      execute(check_error=check_error, log_errors=log_errors))
    File "neutron/agent/ovsdb/native/commands.py", line 42, in execute
      ctx.reraise = False
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "neutron/agent/ovsdb/native/commands.py", line 35, in execute
      txn.add(self)
    File "neutron/agent/ovsdb/api.py", line 70, in __exit__
      self.result = self.commit()
    File "neutron/agent/ovsdb/impl_idl.py", line 70, in commit
      raise result.ex
  RuntimeError: Row removed from DB during listing. Request info: Table=Port. Columns=['name', 'other_config', 'tag']. Records=None.

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


References