From e43472aedc8f46df89a4947860ce3ada950a5495 Mon Sep 17 00:00:00 2001 From: Roman Nozdrin Date: Mon, 20 May 2024 17:52:08 +0000 Subject: [PATCH] fix(cmapi): handle an exception seen in CMAPI at RHEL 8 --- cmapi/cmapi_server/managers/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmapi/cmapi_server/managers/process.py b/cmapi/cmapi_server/managers/process.py index db4742aa5..1adb62e8d 100644 --- a/cmapi/cmapi_server/managers/process.py +++ b/cmapi/cmapi_server/managers/process.py @@ -170,7 +170,7 @@ class MCSProcessManager: workernodes[name]['Port'] ) ) - except socket.timeout: + except (ConnectionRefusedError, socket.timeout): logging.debug( f'"{name}" {workernodes[name]["IPAddr"]}:' f'{workernodes[name]["Port"]} not started yet.'