← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1741889] Re: functional: DbAddCommand sometimes times out after 10 seconds

 

After ovsdbapp release, we don't see it happening in functional job
anymore. There are some timeout hits in logstash in tempest jobs, but
happening at the same time as other actions executed by the agent (e.g.
update state RPC call) are timing out too, so probably host overloaded.

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

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

Title:
  functional: DbAddCommand sometimes times out after 10 seconds

Status in neutron:
  Fix Released
Status in ovsdbapp:
  Fix Released

Bug description:
  Traceback (most recent call last):
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp
      self._setUp()
    File "neutron/tests/common/net_helpers.py", line 721, in _setUp
      self.bridge = common_base.create_resource(self.prefix, ovs.add_bridge)
    File "neutron/tests/common/base.py", line 47, in create_resource
      return creation_func(name, *args, **kwargs)
    File "neutron/agent/common/ovs_lib.py", line 140, in add_bridge
      br.create()
    File "neutron/agent/common/ovs_lib.py", line 255, in create
      FAILMODE_SECURE))
    File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
      self.gen.next()
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/ovsdbapp/api.py", line 94, in transaction
      self._nested_txn = None
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/ovsdbapp/api.py", line 54, in __exit__
      self.result = self.commit()
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 57, in commit
      timeout=self.timeout)
  ovsdbapp.exceptions.TimeoutException: Commands [<ovsdbapp.schema.open_vswitch.commands.AddBridgeCommand object at 0x7fdcc274a9d0>, <ovsdbapp.schema.open_vswitch.commands.DbAddCommand object at 0x7fdcc274aad0>] exceeded timeout 10 seconds

  
  logstash query: http://logstash.openstack.org/#dashboard/file/logstash.json?query=build_name%3A%5C%22legacy-neutron-dsvm-functional%5C%22%20AND%20message%3A%5C%22ovsdbapp.exceptions.TimeoutException%3A%20Commands%5C%22%20AND%20tags%3Aconsole%20AND%20build_status%3AFAILURE

  
  In the logs we can see AddBridgeCommand result returning TRY_AGAIN over and over again:
  http://logs.openstack.org/70/531070/4/check/legacy-neutron-dsvm-functional/9aa7107/logs/dsvm-functional-logs/neutron.tests.functional.agent.test_dhcp_agent.DHCPAgentOVSTestCase.test_agent_mtu_set_on_interface_driver.txt.gz#_2018-01-08_04_20_06_754

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


References