← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2088154] [NEW] ``ProcessManager.disable`` failing if the process doesn't exist

 

Public bug reported:

The method ``ProcessManager.disable`` sends a signal (HUP or KILL) to
finish an existing process. In [1], before sending the signal, it is
checked that the process exists. There is a very narrow possibility that
between this check and the sending of the signal, the process has been
terminated. It is needed to catch this exception and dismiss it.

Logs:
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_a5a/periodic/opendev.org/openstack/neutron/master/neutron-
functional-with-oslo-master/a5abf3a/testr_results.html

Snippet: https://paste.opendev.org/show/b8M8TLhEXkhKxrr2pC7p/

[1]https://github.com/openstack/neutron/blob/081b2e6fc7f64ecebee7165755ecca0204c56aaf/neutron/agent/linux/external_process.py#L123

** Affects: neutron
     Importance: Medium
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

** Changed in: neutron
   Importance: Undecided => Medium

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

Title:
  ``ProcessManager.disable`` failing if the process doesn't exist

Status in neutron:
  New

Bug description:
  The method ``ProcessManager.disable`` sends a signal (HUP or KILL) to
  finish an existing process. In [1], before sending the signal, it is
  checked that the process exists. There is a very narrow possibility
  that between this check and the sending of the signal, the process has
  been terminated. It is needed to catch this exception and dismiss it.

  Logs:
  https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_a5a/periodic/opendev.org/openstack/neutron/master/neutron-
  functional-with-oslo-master/a5abf3a/testr_results.html

  Snippet: https://paste.opendev.org/show/b8M8TLhEXkhKxrr2pC7p/

  [1]https://github.com/openstack/neutron/blob/081b2e6fc7f64ecebee7165755ecca0204c56aaf/neutron/agent/linux/external_process.py#L123

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