Comment 6 for bug 1429781

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10240
Committed: http://github.org/Juniper/contrail-controller/commit/883ba5714a61bbda104f23426234e858899435ac
Submitter: Zuul
Branch: R2.20

commit 883ba5714a61bbda104f23426234e858899435ac
Author: Sundaresan Rajangam <email address hidden>
Date: Tue May 12 06:41:38 2015 -0700

Fix issue with deletion of core file in nodemgr

When the number of cores for a process exceeds max_cores, then the
old core file is removed using os.remove(). Due to missing import
of os module, os.remove(core_file) fails and the exception is not
being handled/logged.

Change-Id: Ica434ef76f9d840a5f73e0fa7244de91ad7f8629
Closes-Bug: #1429781
(cherry picked from commit 7cead511508684cef1a124a08e6a17b0cb424e22)