-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Daemons coring continuously when permission to /var/crashes is set to…
… 750. NodeInformation is sent from each of the daemons periodically to nodemgr. control-node, dns and collector uses boost::filesystem::directory_iterator for traversal of directory /var/crashes. Each daemon runs with contrail user permission and due to permission mis-match boost::filesystem directory_iterator throws an exception thus aborting the daemon. There is no need to send list of core files anymore as the nodemgr collects these core files automatically. Remove the call and add try/catch for future usage of MiscUtils::GetCoreFileList api. Also changing execption log-level to ERROR instead of DEBUG. Change-Id: I152c548d3e303a314d0bfa5ec2c3516bf1cdf747 Closes-Bug:1647865
- Loading branch information
Showing
6 changed files
with
4 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters