Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Healthd] Reduce severity of log messages for cases where docker container stopped during service checker operation #29

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/system-health/health_checker/service_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ def fill_critical_process_by_container(self, container):
# Get container volumn folder
container_folder = self._get_container_folder(container)
if not container_folder:
logger.log_error('Failed to get container folder for {}'.format(container_folder))
logger.log_warning('Could not find MergedDir of container {}, was container stopped?'.format(container))
return

if not os.path.exists(container_folder):
logger.log_error('Container folder does not exist: {}'.format(container_folder))
logger.log_warning('MergedDir {} of container {} not found in filesystem, was container stopped?'.format(container_folder, container))
return

# Get critical_processes file path
Expand Down