← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1163562] Re: Child processes have no way to use atexit functionality

 

** Changed in: nova
       Status: Triaged => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1163562

Title:
  Child processes have no way to use atexit functionality

Status in OpenStack Compute (Nova):
  Opinion

Bug description:
  Currently in nova, when children are spawned via the forking model
  there exists no way for said child process to have its own set of
  atexit handlers (due to the usage of os._exit). Say each process has a
  local log handler and said log handler needs to be flushed before the
  child process exits. It would be useful to let atexit be used or an
  alternative mechanism be provided for children to invoke cleanup tasks
  before they are shutdown.

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