Child processes have no way to use atexit functionality

Bug #1163562 reported by Joshua Harlow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Wishlist
Unassigned

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.

Michael Still (mikal)
Changed in nova:
status: New → Triaged
importance: Undecided → Wishlist
Joe Gordon (jogo)
Changed in nova:
status: Triaged → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.