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)
Reviewed: https:/ /review. opencontrail. org/10240 github. org/Juniper/ contrail- controller/ commit/ 883ba5714a61bbd a104f23426234e8 58899435ac
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 883ba5714a61bbd a104f23426234e8 58899435ac
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 core_file) fails and the exception is not
old core file is removed using os.remove(). Due to missing import
of os module, os.remove(
being handled/logged.
Change-Id: Ica434ef76f9d84 0a5f73e0fa7244d e91ad7f8629 ef1a124a08e6a17 b0cb424e22)
Closes-Bug: #1429781
(cherry picked from commit 7cead511508684c