Skip to content
Snippets Groups Projects
Commit 41381a95 authored by Florent Thiery's avatar Florent Thiery
Browse files

improve logging

parent 9c70774a
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
'''
Criticality: High
Checks that MediaWorker can be reached using SSH
Checks that MediaWorker can be reached using SSH and that it can reach the tasks server
'''
import os
import imp
......@@ -58,7 +58,7 @@ def check_celerity_connectivity(ip):
if "Celerity tasks server" in d:
print('%sSuccessfully reached tasks server%s' % (GREEN, DEF))
return True
print('%sFailed to reach tasks server%s' % (RED, DEF))
print('%sMediaWorker %s failed to reach tasks server%s' % (RED, ip, DEF))
return False
all_ok = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment