Comment 7 for bug 1491581

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

Reviewed: https://review.openstack.org/458923
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a15c84956366456683cd7e5227c5e244e15c3e6e
Submitter: Jenkins
Branch: master

commit a15c84956366456683cd7e5227c5e244e15c3e6e
Author: Hunt Xu <email address hidden>
Date: Sat Apr 22 01:08:48 2017 +0800

    ProcessManager: honor run_as_root when stopping process

    Without this commit, the run_as_root parameter is always True when
    stopping a process, which leads to the usage of unnecessary sudo such as
    in some functional tests, like the keepalived ones.

    This commit fixes the aforemetioned problem by taking run_as_root into
    account when stopping a process. However, run_as_root will still always
    be True if the process is spawned in a netns.

    Closes-Bug: #1491581

    Change-Id: Ib40e1e3357b9a38e760f4e552bf615cdfd54ee5a
    Signed-off-by: Hunt Xu <email address hidden>