← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1721796] [NEW] wait_until_true is not rootwrap daemon friendly

 

Public bug reported:

As wait_until_true uses an eventlet timeout, it can happen that timeout
exception is raised while waiting for output from rootwrap daemon. This
leaves data in rwd socket and next attempt to run command via rootwrap
daemon returns the previous data. There is a bug reported on
oslo.rootwrap - https://bugs.launchpad.net/neutron/+bug/1654287

With a switch of fullstack tests to use rootwrap, it happens a lot that
timeouts are raised while running commands in rwd (eg.
http://logs.openstack.org/67/488567/2/check/gate-neutron-dsvm-fullstack-
ubuntu-xenial/eb8f9a3/testr_results.html.gz)

This bug is to track down an eventlet free solution - we can generalize
approach here
https://review.openstack.org/#/c/421325/3/neutron/cmd/netns_cleanup.py
and since we'll get rid of eventlet dependency, we can move
wait_until_true to neutron-lib.

** Affects: neutron
     Importance: Medium
     Assignee: Jakub Libosvar (libosvar)
         Status: New


** Tags: fullstack functional-tests

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

Title:
  wait_until_true is not rootwrap daemon friendly

Status in neutron:
  New

Bug description:
  As wait_until_true uses an eventlet timeout, it can happen that
  timeout exception is raised while waiting for output from rootwrap
  daemon. This leaves data in rwd socket and next attempt to run command
  via rootwrap daemon returns the previous data. There is a bug reported
  on oslo.rootwrap - https://bugs.launchpad.net/neutron/+bug/1654287

  With a switch of fullstack tests to use rootwrap, it happens a lot
  that timeouts are raised while running commands in rwd (eg.
  http://logs.openstack.org/67/488567/2/check/gate-neutron-dsvm-
  fullstack-ubuntu-xenial/eb8f9a3/testr_results.html.gz)

  This bug is to track down an eventlet free solution - we can
  generalize approach here
  https://review.openstack.org/#/c/421325/3/neutron/cmd/netns_cleanup.py
  and since we'll get rid of eventlet dependency, we can move
  wait_until_true to neutron-lib.

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


Follow ups