Child processes have no way to use atexit functionality
Bug #1163562 reported by
Joshua Harlow
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.
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in nova: | |
status: | Triaged → Opinion |
To post a comment you must log in.