Comment 18 for bug 1558819

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/mitaka)

Reviewed: https://review.openstack.org/321768
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1d714c35add69ba1237ba63a5725e336892f3b9f
Submitter: Jenkins
Branch: stable/mitaka

commit 1d714c35add69ba1237ba63a5725e336892f3b9f
Author: Assaf Muller <email address hidden>
Date: Fri Mar 18 16:29:26 2016 -0400

    Change get_root_helper_child_pid to stop when it finds cmd

    get_root_helper_child_pid recursively finds the child of pid,
    until it can no longer find a child. However, the intention is
    not to find the deepest child, but to strip away root helpers.
    For example 'sudo neutron-rootwrap x' is supposed to find the
    pid of x. However, in cases 'x' spawned quick lived children of
    its own (For example: ip / brctl / ovs invocations),
    get_root_helper_child_pid returned those pids if called in
    the wrong time.

    Conflicts:
     neutron/tests/contrib/functional-testing.filters

    Change-Id: I582aa5c931c8bfe57f49df6899445698270bb33e
    Closes-Bug: #1558819
    (cherry picked from commit fd93e19f2a415b3803700fc491749daba01a4390)