Skip to content
Snippets Groups Projects
Commit 94b2892d authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-666: adjusted confusing log line stating that it did stuff on head01,...

TMSS-666: adjusted confusing log line stating that it did stuff on head01, while in reality it does stuff on head.cep4
parent d1eb3b37
No related branches found
No related tags found
1 merge request!426Resolve TMSS-666
...@@ -41,10 +41,10 @@ if __name__ == '__main__': ...@@ -41,10 +41,10 @@ if __name__ == '__main__':
logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s', level=logging.INFO) logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s', level=logging.INFO)
if isProductionEnvironment() and 'scu001' not in socket.getfqdn(): if isProductionEnvironment() and 'scu001' not in socket.getfqdn():
logger.warning("qa_webservice is designed to run only on scu001 (and then start a docker image on head01)") logger.warning("qa_webservice is designed to run only on scu001 (and then start a docker image on head.cep4)")
exit(1) exit(1)
elif isTestEnvironment() and 'scu199' in socket.getfqdn(): elif isTestEnvironment() and 'scu199' in socket.getfqdn():
logger.warning("qa_webservice is designed to run only on scu001 (and then start a docker image on head01). No further need to run this service on scu199. Exiting with code 0.") logger.warning("qa_webservice is designed to run only on scu001 (and then start a docker image on head.cep4). No further need to run this service on scu199. Exiting with code 0.")
exit(0) exit(0)
kill_zombies() kill_zombies()
......
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