when rootwrap daemon is timeout and quite, parent progress doesn't reap it

Bug #1850241 reported by Jeffrey Zhang on 2019-10-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jeffrey Zhang

Bug Description

42435 346330 0.7 0.0 340740 130820 ? S Oct24 55:35 | \_ /usr/bin/python2 /usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --config-dir /etc/neutron/conf.d/common --log-file=/var/log/neutron/openvswitch-agent.log
root 346424 0.0 0.0 0 0 ? Z Oct24 0:00 | \_ [sudo] <defunct>
42435 346439 0.0 0.0 52652 2836 ? S Oct24 0:12 | \_ ovsdb-client monitor tcp: Interface name,ofport,external_ids --format=json
42435 346441 0.0 0.0 52652 2836 ? S Oct24 0:11 | \_ ovsdb-client monitor tcp: Bridge name --format=json

in our environment, the rootwrap daemon in neutron-openvswitch-agent will be timeout after a period of time. check this patch for detail[0].

The parent of rootwrap should wait and reap the process when it is exit.

* [0] https://review.opendev.org/#/c/438816/3

Changed in oslo.rootwrap:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
status: New → In Progress
Jeffrey Zhang (jeffrey4l) wrote :

fixed is pushed to gerrit


Reviewed: https://review.opendev.org/691672
Committed: https://git.openstack.org/cgit/openstack/oslo.rootwrap/commit/?id=c9a57aab082f55d525f003db61290b6ab7437b7c
Submitter: Zuul
Branch: master

commit c9a57aab082f55d525f003db61290b6ab7437b7c
Author: Jeffrey Zhang <email address hidden>
Date: Mon Oct 28 21:26:59 2019 +0800

    reap rootwrap daemon process when it is timeout

    When the daemon process is timeout, it will kill itself. But the parent
    doesn't reap it. This patch add a thread to wait the process to be done
    once the daemon is started.

    Closes-Bug: #1850241
    Change-Id: Ic209b8ef86c2522ce7e4bd81ac57bf13f1706a81

Changed in oslo.rootwrap:
status: In Progress → Fix Released

This issue was fixed in the openstack/oslo.rootwrap 5.17.1 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers